/* RallyeApp marketing relaunch layer.
   Loaded after site.css so legacy pages remain functional during migration. */

:root {
  /* Shared with the current RallyeApp editor and app menus. */
  --ra-ink: #0f172a;
  --ra-ink-soft: #475569;
  --ra-paper: #f6f8fb;
  --ra-surface: #ffffff;
  --ra-surface-alt: #eef2f7;
  --ra-line: #d7dee8;
  --ra-blue: #2563eb;
  --ra-blue-dark: #1d4ed8;
  --ra-blue-soft: rgba(59, 130, 246, 0.12);
  --ra-orange: #f0a23c;
  --ra-lime: #3ddc84;
  --ra-radius-sm: 8px;
  --ra-radius: 14px;
  --ra-radius-lg: 18px;
  --ra-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
  --ra-content: 1180px;
}

body.relaunch-page {
  background: var(--ra-paper);
  color: var(--ra-ink);
  font-size: 17px;
  line-height: 1.6;
}

.relaunch-page .home-header {
  position: sticky !important;
  top: 0;
  width: 100%;
  border-bottom: 1px solid var(--ra-line);
  background: rgba(255, 255, 255, 0.94) !important;
  color: var(--ra-ink);
  box-shadow: none;
  backdrop-filter: blur(16px);
}

.relaunch-page .home-header .brand-slogan {
  color: var(--ra-ink-soft);
}

.relaunch-page .home-header .nav-links a:hover,
.relaunch-page .home-header .nav-links a.active,
.relaunch-page .home-header .nav-link-dropdown-trigger:hover,
.relaunch-page .home-header .nav-item-dropdown:hover .nav-link-dropdown-trigger {
  border-color: var(--ra-blue);
}

.relaunch-page .home-header .cta-btn:not(.ghost) {
  border: 1px solid var(--ra-blue);
  background: var(--ra-blue);
  color: #fff;
  box-shadow: none;
}

.relaunch-page .home-header .cta-btn {
  border-radius: 10px;
}

.relaunch-page .home-header .cta-btn.ghost {
  border-color: var(--ra-line);
  color: var(--ra-ink);
}

.relaunch-page .home-header .nav-toggle {
  border-color: var(--ra-line);
  background: var(--ra-surface);
  box-shadow: none;
}

.relaunch-page .home-header .nav-toggle__bar {
  background: var(--ra-ink);
}

.relaunch-page .home-header .nav-dropdown-menu {
  border: 1px solid var(--ra-line);
  background: var(--ra-surface);
  box-shadow: var(--ra-shadow);
}

.relaunch-page .home-header .nav-dropdown-menu a {
  color: var(--ra-ink);
}

.relaunch-page .home-header .nav-dropdown-menu a:hover {
  background: var(--ra-surface-alt);
}

.relaunch-page main {
  overflow: hidden;
}

.relaunch-page img {
  max-width: 100%;
}

.ra-shell {
  width: min(calc(100% - 40px), var(--ra-content));
  margin-inline: auto;
}

.ra-section {
  padding: clamp(72px, 9vw, 128px) 0;
}

.ra-section--compact {
  padding: clamp(52px, 7vw, 88px) 0;
}

.ra-section--white {
  background: var(--ra-surface);
}

.ra-section--ink {
  background: var(--ra-surface-alt);
  color: var(--ra-ink);
}

.ra-section--blue {
  background: #eaf2ff;
  color: var(--ra-ink);
}

.ra-heading {
  max-width: 780px;
  margin: 0;
  color: inherit;
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 1.03;
  letter-spacing: -0.045em;
}

.ra-heading--small {
  font-size: clamp(1.8rem, 3.8vw, 3.1rem);
}

.ra-lede {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--ra-ink-soft);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

.ra-section--ink .ra-lede,
.ra-section--blue .ra-lede {
  color: var(--ra-ink-soft);
}

.ra-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

.ra-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 2px solid var(--ra-blue);
  border-radius: 10px;
  padding: 12px 22px;
  background: var(--ra-blue);
  color: #fff;
  font-size: 0.96rem;
  font-weight: 750;
  line-height: 1.15;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.ra-button:hover {
  background: var(--ra-blue-dark);
  box-shadow: 0 12px 28px rgba(23, 78, 166, 0.2);
  transform: translateY(-2px);
}

.ra-button--secondary {
  border-color: var(--ra-line);
  background: var(--ra-surface);
  color: var(--ra-ink);
}

.ra-button--light {
  border-color: var(--ra-blue);
  background: var(--ra-blue);
  color: #fff;
}

.ra-button--ghost-light {
  border-color: var(--ra-line);
  background: #fff;
  color: var(--ra-ink);
}

.ra-button:focus-visible,
.ra-proof-tab:focus-visible,
.ra-card-link:focus-visible,
.ra-experiment-link:focus-visible {
  outline: 4px solid var(--ra-lime);
  outline-offset: 4px;
}

.ra-hero {
  position: relative;
  padding: clamp(70px, 10vw, 128px) 0 clamp(78px, 10vw, 130px);
  background: var(--ra-paper);
  overflow: hidden;
}

.ra-hero::before {
  position: absolute;
  inset: -24px -24px -24px 52%;
  background: url('../img/pictures/hero-bg.webp') center / cover no-repeat;
  content: '';
  filter: blur(12px) saturate(0.8);
  opacity: 0.16;
  transform: scale(1.08);
}

.ra-hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: var(--ra-line);
  content: '';
}

.ra-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  gap: clamp(44px, 6vw, 82px);
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 1.08fr);
}

.ra-hero h1 {
  max-width: 720px;
  margin: 0;
  color: var(--ra-ink);
  font-size: clamp(2.75rem, 6.8vw, 6.5rem);
  font-weight: 780;
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.ra-hero h1 em {
  color: var(--ra-blue);
  font-style: normal;
}

.ra-hero-copy > p {
  max-width: 640px;
  margin: 26px 0 0;
  color: var(--ra-ink-soft);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

.ra-hero-facts {
  display: grid;
  gap: 0;
  max-width: 620px;
  margin: 24px 0 0;
  border-top: 1px solid var(--ra-line);
  padding: 0;
  color: var(--ra-ink-soft);
  font-size: 0.9rem;
  list-style: none;
}

.ra-hero-facts li {
  padding: 10px 0;
  border-bottom: 1px solid var(--ra-line);
}

.ra-hero-facts li::before {
  content: none;
}

.ra-experiment-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: var(--ra-ink-soft);
  font-size: 0.86rem;
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: rgba(64, 81, 106, 0.35);
  text-underline-offset: 4px;
}

.ra-experiment-link span {
  color: inherit;
  font-size: inherit;
  letter-spacing: normal;
  text-transform: none;
}

.ra-product-stage {
  position: relative;
  min-height: 0;
  aspect-ratio: 16 / 10.65;
  border: 1px solid var(--ra-line);
  border-radius: var(--ra-radius-lg);
  padding: 0;
  background: var(--ra-surface);
  box-shadow: var(--ra-shadow);
}

.ra-browser-frame {
  position: absolute;
  inset: 48px 0 0;
  overflow: hidden;
  border: 1px solid var(--ra-line);
  border-radius: 0 0 var(--ra-radius-lg) var(--ra-radius-lg);
  background: var(--ra-paper);
  box-shadow: 0 20px 48px rgba(18, 32, 51, 0.2);
}

.ra-browser-bar {
  display: flex;
  height: 38px;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border-bottom: 1px solid var(--ra-line);
  background: var(--ra-surface-alt);
}

.ra-browser-bar i {
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: #64748b;
}

.ra-browser-frame img {
  width: 100%;
  height: calc(100% - 38px);
  object-fit: contain;
  object-position: center top;
}

.ra-phone-frame {
  position: absolute;
  right: 0;
  bottom: 8px;
  width: min(42%, 230px);
  overflow: hidden;
  border: 9px solid #05080c;
  border-radius: 34px;
  background: #fff;
  box-shadow: 0 26px 54px rgba(18, 32, 51, 0.32);
}

.ra-phone-frame::before {
  position: absolute;
  z-index: 2;
  top: 7px;
  left: 50%;
  width: 54px;
  height: 13px;
  border-radius: 99px;
  background: #05080c;
  content: '';
  transform: translateX(-50%);
}

.ra-phone-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 18;
  object-fit: cover;
  object-position: center top;
}

.ra-stage-note {
  position: absolute;
  z-index: 3;
  left: 16px;
  right: auto;
  top: 12px;
  max-width: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: var(--ra-ink-soft);
  font-size: 0.76rem;
  font-weight: 700;
  box-shadow: none;
}

.ra-proof-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.ra-proof-tab {
  border: 1px solid var(--ra-line);
  border-radius: 6px;
  padding: 8px 14px;
  background: var(--ra-surface);
  color: var(--ra-ink-soft);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
}

.ra-proof-tab[aria-selected='true'] {
  border-color: var(--ra-blue);
  background: var(--ra-blue);
  color: #fff;
}

.ra-grid-3,
.ra-grid-4,
.ra-audience-grid,
.ra-proof-grid {
  display: grid;
  gap: 20px;
}

.ra-grid-3,
.ra-proof-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ra-grid-4,
.ra-audience-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ra-card {
  position: relative;
  border: 1px solid var(--ra-line);
  border-radius: var(--ra-radius);
  padding: clamp(24px, 3vw, 34px);
  background: var(--ra-surface);
}

.ra-card--dark {
  border-color: var(--ra-line);
  background: var(--ra-surface);
  color: var(--ra-ink);
}

.ra-card-number {
  display: block;
  width: auto;
  height: auto;
  color: var(--ra-blue);
  font-size: 0.82rem;
  font-weight: 850;
}

.ra-card h3 {
  margin: 22px 0 10px;
  color: inherit;
  font-size: 1.28rem;
  line-height: 1.2;
}

.ra-card p {
  margin: 0;
  color: var(--ra-ink-soft);
}

.ra-card--dark p {
  color: var(--ra-ink-soft);
}

.ra-card-link {
  display: inline-flex;
  margin-top: 22px;
  color: var(--ra-blue);
  font-weight: 750;
}

.ra-audience-card {
  position: relative;
  display: flex;
  min-height: 310px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border-radius: var(--ra-radius);
  padding: 28px;
  border: 1px solid var(--ra-line);
  background: var(--ra-surface);
  color: var(--ra-ink);
}

.ra-audience-card::after {
  position: absolute;
  inset: 0;
  content: '';
  pointer-events: none;
}

.ra-audience-card__image {
  position: absolute;
  inset: -18px;
  width: calc(100% + 36px);
  height: calc(100% + 36px);
  object-fit: cover;
  object-position: center;
  filter: blur(4px) saturate(0.9);
  opacity: 0.72;
  transform: scale(1.04);
}

.ra-audience-card::after {
  z-index: 1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.52) 54%, rgba(241, 246, 255, 0.72));
}

.ra-audience-card > :not(.ra-audience-card__image) {
  position: relative;
  z-index: 2;
}

.ra-audience-card small {
  color: var(--ra-ink-soft);
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}

.ra-audience-card h3 {
  margin: 18px 0 12px;
  font-size: 1.45rem;
  line-height: 1.15;
}

.ra-audience-card p {
  margin: 0;
  color: var(--ra-ink-soft);
  font-size: 0.95rem;
}

.ra-audience-card a {
  display: inline-flex;
  margin-top: 26px;
  font-weight: 800;
}

.ra-screenshot-card {
  overflow: hidden;
  border: 1px solid var(--ra-line);
  border-radius: var(--ra-radius);
  background: var(--ra-surface);
  box-shadow: none;
}

.ra-screenshot-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  object-position: center;
  background: var(--ra-surface-alt);
}

.ra-screenshot-card div {
  padding: 22px;
}

.ra-screenshot-card h3 {
  margin: 0 0 7px;
  font-size: 1.08rem;
}

.ra-screenshot-card p {
  margin: 0;
  color: var(--ra-ink-soft);
  font-size: 0.9rem;
}

.ra-feature-list {
  display: grid;
  gap: 0;
  margin: 36px 0 0;
  border-top: 1px solid var(--ra-line);
}

.ra-feature-row {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(180px, 0.55fr) minmax(0, 1.45fr);
  padding: 24px 0;
  border-bottom: 1px solid var(--ra-line);
}

.ra-feature-row strong {
  color: var(--ra-ink);
}

.ra-feature-row p {
  margin: 0;
  color: var(--ra-ink-soft);
}

.ra-inline-note {
  margin-top: 26px;
  border-left: 4px solid var(--ra-orange);
  padding: 12px 0 12px 18px;
  color: var(--ra-ink-soft);
  font-size: 0.92rem;
}

.ra-faq {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.ra-faq details {
  border: 1px solid var(--ra-line);
  border-radius: var(--ra-radius-sm);
  padding: 0 22px;
  background: var(--ra-surface);
}

.ra-faq summary {
  padding: 20px 0;
  cursor: pointer;
  color: var(--ra-ink);
  font-weight: 750;
}

.ra-faq details p {
  margin: 0;
  padding: 0 0 22px;
  color: var(--ra-ink-soft);
}

.ra-cta-panel {
  display: grid;
  align-items: center;
  gap: 36px;
  grid-template-columns: 1fr auto;
  border-radius: var(--ra-radius-lg);
  padding: clamp(34px, 5vw, 64px);
  border: 1px solid var(--ra-line);
  background: var(--ra-surface);
  color: var(--ra-ink);
}

.ra-cta-panel h2 {
  max-width: 720px;
  margin: 0;
  color: var(--ra-ink);
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.ra-cta-panel p {
  max-width: 680px;
  margin: 14px 0 0;
  color: var(--ra-ink-soft);
}

.ra-segment-hero {
  padding: clamp(72px, 9vw, 118px) 0;
  background: var(--ra-paper);
}

.ra-segment-grid {
  display: grid;
  align-items: center;
  gap: 54px;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
}

.ra-segment-hero h1 {
  margin: 0;
  color: var(--ra-ink);
  font-size: clamp(2.5rem, 6vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.ra-segment-hero--education h1 {
  font-size: clamp(2.5rem, 5.1vw, 4.8rem);
  overflow-wrap: break-word;
}

.ra-segment-hero p {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--ra-ink-soft);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
}

.ra-segment-media {
  overflow: hidden;
  border-radius: var(--ra-radius-lg);
  border: 1px solid var(--ra-line);
  background: var(--ra-surface);
  box-shadow: var(--ra-shadow);
}

.ra-segment-media img {
  display: block;
  width: 100%;
  min-height: 0;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  object-position: center top;
}

.ra-status-strip {
  display: grid;
  gap: 0;
  margin-top: 26px;
  border-top: 1px solid var(--ra-line);
}

.ra-status-strip span {
  border-bottom: 1px solid var(--ra-line);
  border-radius: 0;
  padding: 9px 0;
  background: transparent;
  color: var(--ra-ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
}

.ra-price-grid {
  display: grid;
  gap: 20px;
  margin-top: 38px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ra-price-card {
  display: flex;
  min-height: 390px;
  flex-direction: column;
  border: 1px solid var(--ra-line);
  border-radius: var(--ra-radius);
  padding: 28px;
  background: var(--ra-surface);
}

.ra-price-card--accent {
  border: 2px solid var(--ra-blue);
  background: var(--ra-surface-alt);
}

.ra-price-card small {
  color: var(--ra-blue);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ra-price-card h3 {
  margin: 16px 0 8px;
  color: var(--ra-ink);
  font-size: 1.45rem;
}

.ra-price-card > p {
  margin: 0;
  color: var(--ra-ink-soft);
  font-size: 0.94rem;
}

.ra-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 24px 0;
  color: var(--ra-ink);
}

.ra-price strong {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.ra-price span {
  color: var(--ra-ink-soft);
  font-size: 0.82rem;
}

.ra-check-list {
  display: grid;
  gap: 10px;
  margin: 0 0 28px;
  padding: 0;
  color: var(--ra-ink-soft);
  font-size: 0.9rem;
  list-style: none;
}

.ra-check-list li {
  position: relative;
  padding-left: 23px;
}

.ra-check-list li::before {
  position: absolute;
  left: 0;
  color: var(--ra-blue);
  content: '✓';
  font-weight: 900;
}

.ra-price-card .ra-button {
  width: 100%;
  margin-top: auto;
}

.ra-split {
  display: grid;
  align-items: start;
  gap: clamp(32px, 6vw, 76px);
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.ra-table-wrap {
  margin-top: 34px;
  overflow-x: auto;
  border: 1px solid var(--ra-line);
  border-radius: var(--ra-radius);
  background: var(--ra-surface);
}

.ra-compare {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  text-align: left;
}

.ra-compare th,
.ra-compare td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--ra-line);
}

.ra-compare th {
  color: var(--ra-ink);
  font-size: 0.86rem;
}

.ra-compare td {
  color: var(--ra-ink-soft);
  font-size: 0.9rem;
}

.ra-compare tr:last-child td {
  border-bottom: 0;
}

/* School account structure and local class-account preview. */
.ra-account-tree {
  display: grid;
  gap: clamp(28px, 5vw, 60px);
  grid-template-columns: minmax(220px, 0.6fr) minmax(0, 1.4fr);
  margin-top: clamp(48px, 7vw, 86px);
  border-top: 1px solid var(--ra-line);
  padding-top: clamp(34px, 5vw, 54px);
}

.ra-account-tree__intro h3 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.15;
}

.ra-account-tree__intro p {
  margin: 12px 0 0;
  color: var(--ra-ink-soft);
}

.ra-account-tree ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ra-account-tree__levels ol {
  position: relative;
  margin: 14px 0 0 26px;
  border-left: 1px solid #9eacbd;
  padding-left: 26px;
}

.ra-account-tree__levels ol > li {
  position: relative;
  margin-top: 12px;
}

.ra-account-tree__levels ol > li::before {
  position: absolute;
  top: 27px;
  left: -26px;
  width: 26px;
  border-top: 1px solid #9eacbd;
  content: '';
}

.ra-account-node {
  display: grid;
  gap: 3px;
  border: 1px solid var(--ra-line);
  border-left: 4px solid var(--ra-blue);
  border-radius: var(--ra-radius-sm);
  padding: 16px 18px;
  background: var(--ra-surface);
}

.ra-account-node span {
  color: var(--ra-ink-soft);
  font-size: 0.88rem;
}

.ra-generator-layout {
  display: grid;
  align-items: start;
  gap: clamp(34px, 6vw, 72px);
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
}

.ra-generator-form {
  display: grid;
  gap: 18px;
  margin-top: 32px;
}

.ra-generator-form label {
  display: grid;
  gap: 7px;
  color: var(--ra-ink);
  font-size: 0.88rem;
  font-weight: 720;
}

.ra-generator-form input {
  min-height: 48px;
  border: 1px solid var(--ra-line);
  border-radius: 7px;
  padding: 10px 12px;
  background: var(--ra-surface);
  color: var(--ra-ink);
  font: inherit;
}

.ra-generator-form input:focus {
  border-color: var(--ra-blue);
  outline: 3px solid var(--ra-blue-soft);
  outline-offset: 0;
}

.ra-generator-preview {
  min-height: 420px;
  border: 1px solid var(--ra-line);
  border-radius: var(--ra-radius-sm);
  padding: clamp(20px, 4vw, 30px);
  background: var(--ra-surface);
}

.ra-generator-preview__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--ra-line);
  padding-bottom: 18px;
}

.ra-generator-preview__header div {
  display: grid;
  gap: 3px;
}

.ra-generator-preview__header span,
.ra-empty-state {
  color: var(--ra-ink-soft);
  font-size: 0.86rem;
}

.ra-login-slips {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ra-login-slip {
  break-inside: avoid;
  border: 1px dashed #93a3b8;
  border-radius: 6px;
  padding: 16px;
  background: var(--ra-paper);
}

.ra-login-slip > div {
  display: grid;
  gap: 2px;
}

.ra-login-slip > div span {
  color: var(--ra-ink-soft);
  font-size: 0.72rem;
}

.ra-login-slip dl {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
}

.ra-login-slip dl div {
  min-width: 0;
}

.ra-login-slip dt {
  color: var(--ra-ink-soft);
  font-size: 0.7rem;
  font-weight: 700;
}

.ra-login-slip dd {
  margin: 1px 0 0;
  overflow-wrap: anywhere;
  color: var(--ra-ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
}

/* Reusable three-station parcours. */
.ra-parcours {
  display: grid;
  gap: 18px;
  margin-top: 40px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ra-parcours-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--ra-line);
  border-radius: var(--ra-radius-sm);
  background: var(--ra-surface);
  transition: border-color 180ms ease, opacity 180ms ease;
}

.ra-parcours-card.is-active {
  border-color: var(--ra-blue);
}

.ra-parcours-card.is-complete {
  border-color: #24804d;
}

.ra-parcours-card.is-locked {
  opacity: 0.48;
}

.ra-parcours-card.is-locked::after {
  position: absolute;
  inset: 0;
  background: rgba(246, 248, 251, 0.44);
  content: '';
  cursor: not-allowed;
}

.ra-parcours-card header {
  display: grid;
  gap: 2px;
  min-height: 70px;
  border-bottom: 1px solid #2446b8;
  padding: 13px 16px;
  background: #3156d3;
  color: #fff;
}

.ra-parcours-card header span {
  font-size: 0.72rem;
  opacity: 0.82;
}

.ra-parcours-card__body {
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: 245px;
  padding: 20px;
}

.ra-parcours-card__body > p {
  margin: 0;
  color: var(--ra-ink-soft);
}

.ra-parcours-options {
  display: grid;
  gap: 8px;
}

.ra-parcours-options button {
  min-height: 44px;
  border: 1px solid var(--ra-line);
  border-radius: 6px;
  padding: 9px 12px;
  background: var(--ra-paper);
  color: var(--ra-ink);
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.ra-parcours-options button:hover,
.ra-parcours-options button:focus-visible {
  border-color: var(--ra-blue);
  background: #edf4ff;
}

.ra-parcours-options button.is-wrong {
  border-color: #ba3b3b;
}

.ra-parcours-options button.is-correct {
  border-color: #24804d;
  background: #edf9f2;
}

.ra-parcours-result {
  display: grid;
  gap: 3px;
  margin-top: 20px;
  border: 1px solid #81b99a;
  border-radius: var(--ra-radius-sm);
  padding: 20px;
  background: #edf9f2;
}

.ra-parcours-result[hidden] {
  display: none;
}

.ra-parcours-result span {
  color: var(--ra-ink-soft);
}

/* Category parcours: mirrors the editor's side menu and station panel. */
.category-parcours {
  display: grid;
  min-height: 430px;
  margin-top: 38px;
  overflow: hidden;
  border: 1px solid var(--ra-line);
  border-radius: var(--ra-radius-sm);
  background: var(--ra-surface);
  grid-template-columns: 230px minmax(0, 1fr);
}

.category-parcours__menu {
  display: grid;
  align-content: start;
  gap: 0;
  border-right: 1px solid var(--ra-line);
  background: var(--ra-paper);
}

.category-parcours__menu-item {
  min-height: 58px;
  border: 0;
  border-bottom: 1px solid var(--ra-line);
  border-left: 4px solid transparent;
  padding: 12px 16px;
  background: transparent;
  color: var(--ra-ink-soft);
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  text-align: left;
}

.category-parcours__menu-item[aria-current='step'] {
  border-left-color: var(--ra-blue);
  background: var(--ra-surface);
  color: var(--ra-ink);
}

.category-parcours__menu-item:disabled {
  color: #92a0b1;
  cursor: not-allowed;
}

.category-parcours__menu-item:focus-visible,
.category-parcours__answer:focus-visible,
.category-parcours__action:focus-visible,
.category-parcours__next:focus-visible {
  outline: 3px solid var(--ra-blue-soft);
  outline-offset: -3px;
}

.category-parcours__body {
  display: grid;
  min-width: 0;
  background: var(--ra-surface);
}

.category-parcours__station,
.category-parcours__result {
  min-width: 0;
  padding: clamp(24px, 5vw, 48px);
}

.category-parcours__station[hidden],
.category-parcours__result[hidden] {
  display: none;
}

.category-parcours__station-header {
  position: static;
  top: auto;
  z-index: auto;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--ra-line);
  padding: 0 0 18px;
  background: transparent;
  color: var(--ra-ink);
}

.category-parcours__station-header h3,
.category-parcours__result h3 {
  margin: 0;
  color: var(--ra-ink);
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  line-height: 1.16;
}

.category-parcours__station-meta {
  margin: 7px 0 0;
  color: var(--ra-ink-soft);
  font-size: 0.78rem;
  font-weight: 650;
}

.category-parcours__station > p:not(.category-parcours__feedback),
.category-parcours__question,
.category-parcours__result p {
  max-width: 760px;
  margin: 0;
  color: var(--ra-ink-soft);
}

.category-parcours__choices {
  display: grid;
  gap: 9px;
  max-width: 680px;
  margin-top: 22px;
}

.category-parcours__answer {
  min-height: 48px;
  border: 1px solid var(--ra-line);
  border-radius: 6px;
  padding: 10px 14px;
  background: var(--ra-paper);
  color: var(--ra-ink);
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.category-parcours__answer:hover:not(:disabled) {
  border-color: var(--ra-blue);
  background: #edf4ff;
}

.category-parcours__answer.is-correct {
  border-color: #24804d;
  background: #edf9f2;
}

.category-parcours__answer.is-wrong {
  border-color: #ba3b3b;
  background: #fff1f1;
}

.category-parcours__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.category-parcours__action,
.category-parcours__next {
  min-height: 48px;
  border: 1px solid var(--ra-blue);
  border-radius: 7px;
  padding: 10px 18px;
  background: var(--ra-blue);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 750;
}

.category-parcours__next {
  border-color: var(--ra-line);
  background: var(--ra-surface);
  color: var(--ra-ink);
}

.category-parcours__action:disabled {
  border-color: var(--ra-line);
  background: var(--ra-surface-alt);
  color: var(--ra-ink-soft);
  cursor: default;
}

.category-parcours__feedback {
  min-height: 25px;
  margin: 18px 0 0;
  color: var(--ra-ink-soft);
  font-size: 0.88rem;
}

.category-parcours .is-complete .category-parcours__station-header {
  border-bottom-color: #81b99a;
}

.category-parcours__result {
  align-content: center;
  background: #edf9f2;
}

.category-parcours__result p {
  margin-top: 12px;
}

.category-parcours__result .category-parcours__action {
  justify-self: start;
  margin-top: 24px;
}

/* Price audience navigation: rectangular, menu-like, and shared with the relaunch layer. */
.pricing-segments {
  padding-bottom: 34px;
}

.pricing-segment-tabs {
  display: grid;
  margin-top: 32px;
  border: 1px solid var(--ra-line);
  border-radius: var(--ra-radius-sm);
  background: var(--ra-paper);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pricing-segment-tab {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-right: 1px solid var(--ra-line);
  border-bottom: 4px solid transparent;
  padding: 10px 14px 7px;
  background: transparent;
  color: var(--ra-ink-soft);
  font: inherit;
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
}

.pricing-segment-tab:last-child {
  border-right: 0;
}

.pricing-segment-tab:hover {
  background: var(--ra-surface);
  color: var(--ra-ink);
}

.pricing-segment-tab[aria-selected='true'] {
  border-bottom-color: var(--ra-blue);
  background: var(--ra-surface);
  color: var(--ra-blue-dark);
}

.pricing-segment-tab:focus-visible,
.pricing-segment-panel:focus-visible {
  outline: 3px solid var(--ra-blue-soft);
  outline-offset: 3px;
}

.pricing-segment-panels {
  margin-top: 16px;
}

.pricing-segment-panel {
  border: 1px solid var(--ra-line);
  border-radius: var(--ra-radius-sm);
  padding: clamp(24px, 4vw, 36px);
  background: var(--ra-surface);
}

.pricing-segment-panel[hidden] {
  display: none;
}

.pricing-segment-panel h2 {
  margin: 0 0 10px;
  color: var(--ra-ink);
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.15;
}

.pricing-segment-panel p {
  max-width: 760px;
  margin: 0;
  color: var(--ra-ink-soft);
}

.pricing-segment-tiers {
  margin-top: 28px;
}

.pricing-segment-tiers .ra-price-grid {
  margin-top: 0;
}

.pricing-segment-tiers--single {
  max-width: 420px;
}

.pricing-segment-tiers .ra-price-card {
  min-height: 310px;
}

.pricing-segment-request {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  border: 1px solid var(--ra-line);
  border-radius: var(--ra-radius-sm);
  padding: 22px;
  background: var(--ra-surface-alt);
}

.pricing-segment-request p {
  max-width: 640px;
}

.pricing-segment-request .ra-button {
  flex: none;
}

.pricing-card-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
}

/* Forum and newsletter: useful destinations, styled like app panels instead of badges. */
.relaunch-page forum-section,
.relaunch-page newsletter-section {
  display: block;
}

.relaunch-page .ra-component-fallback {
  border-top: 1px solid var(--ra-line);
  padding: 42px 0;
  background: var(--ra-surface);
}

.relaunch-page .ra-component-fallback h2 {
  margin: 0;
  color: var(--ra-ink);
  font-size: 1.45rem;
}

.relaunch-page .ra-component-fallback p {
  margin: 8px 0 0;
}

.relaunch-page .ra-component-fallback a {
  color: var(--ra-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.relaunch-page .community-forum-section,
.relaunch-page .newsletter-section {
  padding: clamp(68px, 8vw, 108px) 0;
}

.relaunch-page .community-forum-section {
  border-top: 1px solid var(--ra-line);
  background: var(--ra-surface);
}

.relaunch-page .community-forum-section > .inner,
.relaunch-page .newsletter-shell {
  width: min(calc(100% - 40px), var(--ra-content));
  margin-inline: auto;
}

.relaunch-page .community-section-heading,
.relaunch-page .newsletter-shell {
  text-align: left;
}

.relaunch-page .community-section-heading .section-title,
.relaunch-page .newsletter-shell .section-title {
  max-width: 780px;
  margin: 0;
  color: var(--ra-ink);
  font-size: clamp(1.8rem, 3.8vw, 3.1rem);
  line-height: 1.03;
  letter-spacing: -0.045em;
}

.relaunch-page .community-section-heading .section-subtitle,
.relaunch-page .newsletter-shell .section-subtitle {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--ra-ink-soft);
  font-size: clamp(1rem, 1.6vw, 1.16rem);
}

.relaunch-page .community-forum-grid {
  display: grid;
  gap: 18px;
  margin-top: 36px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.relaunch-page .community-forum-card {
  position: relative;
  display: flex;
  min-height: 280px;
  flex-direction: column;
  border: 1px solid var(--ra-line);
  border-radius: var(--ra-radius-sm);
  padding: 24px;
  background: var(--ra-paper);
  box-shadow: none;
}

.relaunch-page .community-forum-card h3 {
  margin: 0;
  color: var(--ra-ink);
  font-size: 1.25rem;
  line-height: 1.25;
}

.relaunch-page .community-forum-card p {
  margin: 14px 0 24px;
  color: var(--ra-ink-soft);
  font-size: 0.92rem;
}

.relaunch-page .community-forum-card .card-link {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin-top: auto;
  color: var(--ra-blue);
  font-weight: 750;
  line-height: 1.35;
  overflow-wrap: anywhere;
  white-space: normal;
}

.relaunch-page .community-forum-live {
  margin-top: 50px;
  border-top: 1px solid var(--ra-line);
  padding-top: 32px;
}

.relaunch-page .community-forum-live > h3 {
  margin: 0;
  font-size: 1.35rem;
}

.relaunch-page .community-forum-card--live .article-meta {
  order: 2;
  margin: 10px 0 0;
  color: var(--ra-ink-soft);
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}

.relaunch-page .community-section-actions {
  margin-top: 26px;
}

.relaunch-page .community-section-actions .cta-btn {
  min-height: 48px;
  border: 1px solid var(--ra-line);
  border-radius: 8px;
  background: var(--ra-surface);
  color: var(--ra-ink);
  box-shadow: none;
}

.relaunch-page .newsletter-section {
  border-top: 1px solid var(--ra-line);
  background: #eaf2ff;
}

.relaunch-page forum-section + newsletter-section .newsletter-section {
  padding-top: clamp(48px, 6vw, 72px);
}

.relaunch-page .ra-newsletter-page {
  display: grid;
  min-height: 64vh;
  align-items: center;
  background: #eaf2ff;
}

.relaunch-page .ra-newsletter-page .newsletter-section {
  border-top: 0;
}

.relaunch-page .newsletter-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1.2fr);
  column-gap: clamp(42px, 8vw, 100px);
}

.relaunch-page .newsletter-shell .section-title,
.relaunch-page .newsletter-shell .newsletter-copy {
  grid-column: 1;
}

.relaunch-page .newsletter-form {
  align-self: center;
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
  border: 1px solid #bdd0ed;
  border-radius: var(--ra-radius-sm);
  padding: clamp(22px, 4vw, 32px);
  background: var(--ra-surface);
}

.relaunch-page .newsletter-controls {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.relaunch-page .newsletter-field {
  min-width: 0;
  min-height: 50px;
  border: 1px solid var(--ra-line);
  border-radius: 7px;
  padding: 10px 13px;
  background: var(--ra-paper);
  color: var(--ra-ink);
  font: inherit;
}

.relaunch-page .newsletter-field:focus {
  border-color: var(--ra-blue);
  outline: 3px solid var(--ra-blue-soft);
}

.relaunch-page .newsletter-submit {
  min-height: 50px;
  border: 1px solid var(--ra-blue);
  border-radius: 7px;
  padding: 10px 18px;
  background: var(--ra-blue);
  color: #fff;
  box-shadow: none;
  font-weight: 750;
}

.relaunch-page .newsletter-privacy,
.relaunch-page .newsletter-feedback {
  margin: 12px 0 0;
  color: var(--ra-ink-soft);
  font-size: 0.76rem;
}

.relaunch-page .newsletter-privacy a {
  color: var(--ra-blue);
  text-decoration: underline;
}

.relaunch-page .newsletter-feedback.is-success {
  color: #17663a;
}

.relaunch-page .newsletter-feedback.is-error {
  color: #a82727;
}

.relaunch-page [data-newsletter-state="pending"] {
  opacity: 0.75;
}

/* Interactive product demos: aligned with the editor's light panels and menus. */
.relaunch-page .ra-demo-section {
  border-bottom: 1px solid var(--ra-line);
}

.relaunch-page ai-planner-promo {
  display: block;
}

.ra-ai-planner-promo {
  border-bottom: 1px solid var(--ra-line);
  background: var(--ra-paper);
}

.ra-ai-planner-promo__card {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.35fr) auto;
  gap: clamp(24px, 4vw, 52px);
  border: 1px solid #c9d9ff;
  border-radius: var(--ra-radius-sm);
  padding: clamp(24px, 4vw, 38px);
  background: linear-gradient(120deg, #eef4ff, #fbfcff 62%, #f4f7ff);
}

.ra-ai-planner-promo__card .ra-heading {
  margin-top: 12px;
}

.ra-ai-planner-promo__card p {
  max-width: 690px;
  margin: 0;
  color: var(--ra-ink-soft);
}

.ra-ai-planner-promo__card .ra-actions {
  align-items: flex-start;
  flex-direction: column;
  margin: 0;
}

.ra-beta-badge,
.ra-button-beta {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 0.72em;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.ra-beta-badge {
  padding: 6px 9px;
  background: #dce8ff;
  color: #1d4ed8;
}

.ra-button-beta {
  margin-left: 5px;
  padding: 4px 6px;
  background: rgba(255, 255, 255, 0.2);
  color: currentColor;
}

.ra-beta-badge--light {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.ra-ai-planner-note {
  margin-top: 16px !important;
  color: var(--ra-ink-soft);
  font-size: 0.88rem;
}

@media (max-width: 760px) {
  .ra-ai-planner-promo__card {
    grid-template-columns: 1fr;
  }

  .ra-ai-planner-promo__card .ra-actions {
    align-items: stretch;
  }

  .ra-ai-planner-promo__card .ra-button {
    justify-content: center;
  }
}

.relaunch-page .interaction-grid.ra-mini-rally {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

/* site.css switches the parcours to one active station at 720px. Keep the
   outer layout on the same breakpoint so that the visible station does not
   remain trapped in one third of a hidden three-column grid. */
@media (max-width: 720px) {
  .relaunch-page .interaction-grid.ra-mini-rally {
    display: block;
    width: 100%;
    max-width: 640px;
  }
}

.relaunch-page .interaction-card {
  border: 1px solid var(--ra-line);
  border-radius: var(--ra-radius-sm);
  background: var(--ra-surface);
  box-shadow: none;
  color: var(--ra-ink);
}

.relaunch-page .interaction-card .app-header,
.relaunch-page .station-track .app-header {
  min-height: 54px;
  padding: 14px 16px;
  border-bottom: 1px solid #2446b8;
  background: #3156d3;
  color: #fff;
}

.relaunch-page .interaction-card .points,
.relaunch-page .station-track .points {
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 4px;
  padding: 3px 7px;
  background: transparent;
  font-size: 0.72rem;
}

.relaunch-page .interaction-content {
  gap: 13px;
  padding: 20px;
  background: var(--ra-surface);
}

.relaunch-page .task-question {
  margin: 0;
  color: var(--ra-ink);
  font-size: 1rem;
  line-height: 1.4;
}

.relaunch-page .ra-station-copy,
.relaunch-page .station-preview-body {
  margin: 0;
  color: var(--ra-ink-soft);
  font-size: 0.9rem;
  line-height: 1.5;
}

.relaunch-page .ra-demo-picture {
  display: block;
  overflow: hidden;
  border: 1px solid var(--ra-line);
  border-radius: 6px;
}

.relaunch-page .ra-demo-picture img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.relaunch-page .quiz-option,
.relaunch-page .station-preview-input,
.relaunch-page .station-preview-textarea {
  border: 1px solid var(--ra-line);
  border-radius: 6px;
  background: var(--ra-paper);
  color: var(--ra-ink);
}

.relaunch-page .quiz-option {
  padding: 11px 12px;
}

.relaunch-page .quiz-option:hover,
.relaunch-page .quiz-option:focus-visible {
  border-color: var(--ra-blue);
  background: #edf4ff;
}

.relaunch-page .photo-btn,
.relaunch-page .submit-estimation {
  min-height: 44px;
  border: 1px solid var(--ra-blue);
  border-radius: 7px;
  background: var(--ra-blue);
  color: #fff;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 750;
}

.relaunch-page .photo-btn:hover,
.relaunch-page .submit-estimation:hover {
  background: var(--ra-blue-dark);
}

.relaunch-page .locked-overlay {
  background: rgba(246, 248, 251, 0.76);
  backdrop-filter: blur(3px);
}

.relaunch-page .lock-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--ra-line);
  border-radius: 6px;
  padding: 0;
  background: var(--ra-surface);
  color: var(--ra-blue);
  font-size: 1rem;
  box-shadow: none;
}

.relaunch-page .slider-value {
  color: var(--ra-blue);
}

.relaunch-page .slider-result,
.relaunch-page .final-score {
  border: 1px solid var(--ra-line);
  border-radius: 6px;
  background: var(--ra-paper);
}

.relaunch-page .ra-text-button {
  margin-top: 20px;
  border: 0;
  border-bottom: 1px solid currentColor;
  padding: 3px 0;
  background: transparent;
  color: var(--ra-ink-soft);
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
}

.relaunch-page .demo-finished-content {
  border: 1px solid var(--ra-line);
  border-radius: var(--ra-radius-sm);
  box-shadow: var(--ra-shadow);
}

.relaunch-page .demo-finished-content h2 {
  background: none;
  color: var(--ra-ink);
  -webkit-text-fill-color: currentColor;
}

.relaunch-page .final-score span,
.relaunch-page .final-score strong {
  color: var(--ra-ink);
}

.relaunch-page .ra-station-catalog {
  border-top: 1px solid var(--ra-line);
  border-bottom: 1px solid var(--ra-line);
  background: var(--ra-paper);
}

.relaunch-page .station-carousel-container {
  margin-top: 38px;
  padding-inline: 58px;
}

.relaunch-page .station-track {
  gap: 18px;
  padding: 22px 8px;
}

.relaunch-page .station-track .interaction-card {
  display: flex;
  min-width: 320px;
  max-width: 320px;
  min-height: 410px;
  border-radius: var(--ra-radius-sm);
  opacity: 0.58;
  filter: none;
  transform: scale(0.97);
}

.relaunch-page .station-track .interaction-card.active {
  border-color: var(--ra-blue);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
  opacity: 1;
  transform: scale(1);
}

.relaunch-page .station-track .interaction-content {
  min-height: 355px;
}

.relaunch-page .carousel-arrow {
  width: 44px;
  height: 44px;
  border: 1px solid var(--ra-line);
  border-radius: 7px;
  background: var(--ra-surface);
  color: var(--ra-ink);
  box-shadow: none;
  font-size: 1rem;
}

.relaunch-page .carousel-arrow:hover {
  border-color: var(--ra-blue);
  background: var(--ra-blue);
  color: #fff;
  transform: translateY(-50%);
}

.relaunch-page .ra-photo-placeholder {
  display: grid;
  min-height: 128px;
  place-items: center;
  border: 1px dashed #aab6c6;
  border-radius: 6px;
  background: var(--ra-paper);
  color: var(--ra-ink-soft);
  font-size: 0.82rem;
}

.relaunch-page .ra-contact-bar {
  margin-top: 38px;
  border: 1px solid var(--ra-line);
  border-radius: var(--ra-radius-sm);
  padding: clamp(24px, 4vw, 38px);
  background: var(--ra-surface);
  color: var(--ra-ink);
}

.relaunch-page .ra-contact-bar p {
  margin: 5px 0 0;
  color: var(--ra-ink-soft);
}

.relaunch-page .ra-contact-bar a:not(.ra-button) {
  color: var(--ra-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* The wizard is loaded after this file; the extra selector weight keeps it editor-like. */
.relaunch-page .ra-contact-bar .wizard-question {
  color: var(--ra-ink);
}

.relaunch-page .ra-contact-bar .wizard-progress-track {
  background: var(--ra-surface-alt);
}

.relaunch-page .ra-contact-bar .wizard-progress-fill {
  background: var(--ra-blue);
}

.relaunch-page .ra-contact-bar .wizard-field {
  border: 1px solid var(--ra-line);
  border-radius: 7px;
  background: var(--ra-paper);
  color: var(--ra-ink);
}

.relaunch-page .ra-contact-bar .wizard-field::placeholder {
  color: #718096;
}

.relaunch-page .ra-contact-bar .wizard-field:focus {
  border-color: var(--ra-blue);
  background: #fff;
  box-shadow: 0 0 0 3px var(--ra-blue-soft);
}

.relaunch-page .ra-contact-bar .wizard-nav-back {
  color: var(--ra-ink-soft);
}

.relaunch-page .ra-contact-bar .wizard-nav-next,
.relaunch-page .ra-contact-bar .wizard-submit-btn {
  border: 1px solid var(--ra-blue);
  border-radius: 7px;
  background: var(--ra-blue);
  color: #fff;
}

.relaunch-page .ra-contact-bar .wizard-role-card {
  border: 1px solid var(--ra-line);
  border-radius: 7px;
  color: var(--ra-ink-soft);
}

.relaunch-page .ra-contact-bar .wizard-role-card:hover,
.relaunch-page .ra-contact-bar .wizard-role-option input:checked + .wizard-role-card {
  border-color: var(--ra-blue);
  background: #edf4ff;
  color: var(--ra-ink);
  box-shadow: none;
}

.relaunch-page .ra-contact-bar .wizard-consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 12px;
  color: var(--ra-ink-soft);
  font-size: 0.8rem;
}

@media (max-width: 1100px) {
  .relaunch-page .primary-nav .nav-links {
    background: var(--ra-paper);
  }

  .relaunch-page .primary-nav .nav-links a,
  .relaunch-page .primary-nav .nav-link-dropdown-trigger {
    border-color: var(--ra-line);
    color: var(--ra-ink);
  }

  .relaunch-page .primary-nav .nav-dropdown-menu {
    border: 0;
    background: var(--ra-surface);
  }

  .relaunch-page .primary-nav.is-open .nav-toggle .nav-toggle__bar {
    background: var(--ra-ink);
  }
}

@media (max-width: 980px) {
  .ra-hero-grid,
  .ra-segment-grid {
    grid-template-columns: 1fr;
  }

  .ra-product-stage {
    min-height: 0;
  }

  .ra-grid-4,
  .ra-audience-grid,
  .ra-price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ra-grid-3,
  .ra-proof-grid,
  .ra-split,
  .ra-generator-layout,
  .ra-account-tree {
    grid-template-columns: 1fr;
  }

  .relaunch-page .newsletter-shell {
    grid-template-columns: 1fr;
  }

  .relaunch-page .newsletter-form {
    grid-column: 1;
    grid-row: auto;
    margin-top: 30px;
  }

  .pricing-segment-panel {
    grid-template-columns: 1fr;
  }

  .pricing-segment-panel .ra-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .ra-shell {
    width: min(calc(100% - 28px), var(--ra-content));
  }

  .ra-hero {
    padding-top: 56px;
  }

  .ra-hero h1 {
    font-size: clamp(2.65rem, 15vw, 4.6rem);
  }

  .ra-product-stage {
    min-height: 0;
    padding: 0;
  }

  .ra-browser-frame {
    inset: 48px 0 0;
  }

  .ra-phone-frame {
    width: 42%;
    border-width: 6px;
    border-radius: 24px;
  }

  .ra-stage-note {
    left: 12px;
    right: auto;
    top: 11px;
  }

  .relaunch-page .interaction-grid.ra-mini-rally {
    display: block;
  }

  .relaunch-page .station-carousel-container {
    padding-inline: 4px;
  }

  .relaunch-page .station-track {
    padding-inline: calc((100vw - 320px - 28px) / 2);
  }

  .relaunch-page .ra-contact-bar {
    align-items: stretch;
  }

  .relaunch-page .ra-contact-bar .ra-button {
    width: 100%;
  }

  .ra-grid-4,
  .ra-audience-grid,
  .ra-price-grid {
    grid-template-columns: 1fr;
  }

  .ra-parcours {
    grid-template-columns: 1fr;
  }

  .category-parcours {
    grid-template-columns: 1fr;
  }

  .category-parcours__menu {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-right: 0;
    border-bottom: 1px solid var(--ra-line);
  }

  .category-parcours__menu-item {
    min-height: 64px;
    border-right: 1px solid var(--ra-line);
    border-bottom: 4px solid transparent;
    border-left: 0;
    padding: 8px;
    font-size: 0.75rem;
    text-align: center;
  }

  .category-parcours__menu-item[aria-current='step'] {
    border-bottom-color: var(--ra-blue);
    border-left: 0;
  }

  .category-parcours__station,
  .category-parcours__result {
    padding: 24px 18px;
  }

  .pricing-segment-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-segment-tab:nth-child(2) {
    border-right: 0;
  }

  .pricing-segment-tab:nth-child(-n + 2) {
    border-bottom: 1px solid var(--ra-line);
  }

  .pricing-segment-tab[aria-selected='true'] {
    box-shadow: inset 0 -4px 0 var(--ra-blue);
  }

  .pricing-segment-request {
    align-items: stretch;
    flex-direction: column;
  }

  .pricing-segment-request .ra-button {
    width: 100%;
  }

  .ra-parcours-card.is-locked {
    display: none;
  }

  .ra-login-slips {
    grid-template-columns: 1fr;
  }

  .relaunch-page .community-forum-section > .inner,
  .relaunch-page .newsletter-shell {
    width: min(calc(100% - 28px), var(--ra-content));
  }

  .relaunch-page .community-forum-grid,
  .relaunch-page .newsletter-controls {
    grid-template-columns: 1fr;
  }

  .relaunch-page .community-forum-card {
    min-height: 0;
  }

  .ra-generator-preview__header {
    align-items: stretch;
    flex-direction: column;
  }

  .ra-generator-preview__header .ra-button {
    width: 100%;
  }

  .ra-audience-card {
    min-height: 230px;
  }

  .ra-feature-row {
    gap: 7px;
    grid-template-columns: 1fr;
  }

  .ra-cta-panel {
    grid-template-columns: 1fr;
  }

  .ra-actions .ra-button {
    width: 100%;
  }
}

/* Station previews deliberately mirror the player UI, not the editor panels. */
.relaunch-page .interaction-card {
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  color: #1f2937;
}

.relaunch-page .interaction-card .app-header,
.relaunch-page .station-track .app-header {
  min-height: 0;
  border: 0;
  padding: 16px 24px;
  background: #3156d3;
}

.relaunch-page .interaction-card .points,
.relaunch-page .station-track .points {
  border: 0;
  border-radius: 12px;
  padding: 3px 10px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 0.8rem;
}

.relaunch-page .interaction-content,
.relaunch-page .station-track .interaction-content {
  gap: 16px;
  padding: 24px;
  background: #fff;
}

.relaunch-page .task-question {
  margin: 0 0 8px;
  color: #1f2937;
  font-size: 1.1rem;
}

.relaunch-page .ra-station-copy,
.relaunch-page .station-preview-body {
  color: #1f2937;
  font-size: 1rem;
  line-height: 1.5;
}

.relaunch-page .quiz-option,
.relaunch-page .station-preview-input,
.relaunch-page .station-preview-textarea {
  border: 2px solid transparent;
  border-radius: 12px;
  background: #f3f4f6;
  color: #1f2937;
}

.relaunch-page .quiz-option {
  margin-bottom: 8px;
  padding: 13px 16px;
}

.relaunch-page .quiz-option:hover,
.relaunch-page .quiz-option:focus-visible {
  border-color: transparent;
  background: #e5e7eb;
}

.relaunch-page .quiz-option.selected {
  border-color: #3156d3;
  background: color-mix(in srgb, #3156d3 12%, #f3f4f6);
}

.relaunch-page .photo-btn,
.relaunch-page .submit-estimation,
.relaunch-page .station-preview-submit {
  min-height: 0;
  border: 0;
  border-radius: 12px;
  padding: 13px;
  background: #10b981;
  color: #fff;
  font-weight: 600;
}

.relaunch-page .photo-btn:hover,
.relaunch-page .submit-estimation:hover,
.relaunch-page .station-preview-submit:hover {
  background: #059669;
}

.relaunch-page .ra-demo-picture,
.relaunch-page .ra-photo-placeholder,
.relaunch-page .station-track .photo-upload-visual {
  border-radius: 12px;
}

.relaunch-page .station-track .interaction-card,
.relaunch-page .station-track .interaction-card.active {
  border-color: rgba(0, 0, 0, 0.05);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.relaunch-page .preview-cloze-sentence {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px 16px;
  background: #f9fafb;
}

.relaunch-page .preview-cloze-sentence strong {
  color: #3156d3;
}

.relaunch-page .preview-choice-row,
.relaunch-page .preview-ordering,
.relaunch-page .preview-matching > div {
  display: grid;
  gap: 8px;
}

.relaunch-page .preview-choice-row .quiz-option {
  margin: 0;
}

.relaunch-page .preview-ordering-item,
.relaunch-page .preview-match-item {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 11px 13px;
  background: #f3f4f6;
  color: #1f2937;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  text-align: left;
}

.relaunch-page .preview-ordering-item span {
  display: grid;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #64748b;
  font-size: 0.78rem;
}

.relaunch-page .preview-ordering-item:hover,
.relaunch-page .preview-match-item:hover,
.relaunch-page .preview-ordering-item.is-selected,
.relaunch-page .preview-match-item.is-selected {
  border-color: #3156d3;
  background: #eef2ff;
}

.relaunch-page .preview-ordering-item.is-selected span {
  background: #3156d3;
  color: #fff;
}

.relaunch-page .preview-ordering-item.is-correct,
.relaunch-page .preview-match-item.is-correct {
  border-color: #10b981;
  background: #d1fae5;
  color: #065f46;
  opacity: 1;
}

.relaunch-page .preview-match-item.is-correct[data-match='b'] {
  border-color: #3156d3;
  background: #e0e7ff;
  color: #1e3a8a;
}

.relaunch-page .preview-ordering-item.is-wrong,
.relaunch-page .preview-match-item.is-wrong {
  border-color: #f43f5e;
  background: #ffe4e6;
  color: #9f1239;
}

.relaunch-page .preview-matching {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.relaunch-page .preview-match-item {
  justify-content: center;
  min-height: 58px;
  text-align: center;
}

.relaunch-page .preview-qr {
  display: grid;
  width: 136px;
  height: 136px;
  margin: 0 auto;
  place-items: center;
  border: 10px solid #fff;
  border-radius: 12px;
  background:
    linear-gradient(90deg, #111827 12px, transparent 12px) 0 0 / 30px 30px,
    linear-gradient(#111827 12px, transparent 12px) 0 0 / 30px 30px,
    #e5e7eb;
  box-shadow: 0 0 0 1px #d1d5db;
}

.relaunch-page .preview-qr strong {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #3156d3;
  font-size: 1.5rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
}

.relaunch-page .preview-location {
  display: grid;
  gap: 8px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  background: #f9fafb;
}

.relaunch-page .preview-location span {
  color: #64748b;
  font-size: 0.82rem;
}

.relaunch-page .preview-location strong {
  color: #1f2937;
  font-size: 1.7rem;
}

.relaunch-page .preview-location > div {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #dbe2ea;
}

.relaunch-page .preview-location i {
  display: block;
  width: 28%;
  height: 100%;
  border-radius: inherit;
  background: #10b981;
  transition: width 0.55s ease;
}

.category-parcours__body {
  align-content: start;
  padding: clamp(24px, 4vw, 40px);
  background: #eef2f7;
}

.category-parcours__station {
  width: min(100%, 620px);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 16px;
  padding: 0;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  color: #1f2937;
}

.category-parcours__station:not([hidden]) {
  display: flex;
  flex-direction: column;
}

.category-parcours__station-header {
  margin: 0;
  border: 0;
  padding: 16px 24px;
  background: #3156d3;
  color: #fff;
}

.category-parcours__station-header > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.category-parcours__station-header h3 {
  color: #fff;
  font-size: 1rem;
  line-height: 1.35;
}

.category-parcours__station-meta {
  flex: 0 0 auto;
  margin: 0;
  border-radius: 12px;
  padding: 3px 10px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
}

.category-parcours__station > p:not(.category-parcours__feedback),
.category-parcours__question {
  max-width: none;
  margin: 24px 24px 0;
  color: #1f2937;
}

.category-parcours__choices {
  gap: 8px;
  max-width: none;
  margin: 20px 24px 0;
}

.category-parcours__answer {
  min-height: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 13px 16px;
  background: #f3f4f6;
  color: #1f2937;
}

.category-parcours__answer:hover:not(:disabled) {
  border-color: transparent;
  background: #e5e7eb;
}

.category-parcours__answer.is-correct {
  border-color: #10b981;
  background: #d1fae5;
  color: #065f46;
}

.category-parcours__answer.is-wrong {
  border-color: #f43f5e;
  background: #ffe4e6;
  color: #9f1239;
}

.category-parcours__actions {
  margin: 24px;
}

.category-parcours__action,
.category-parcours__next {
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  padding: 13px 18px;
  background: #10b981;
  color: #fff;
  font-weight: 600;
}

.category-parcours__action:hover:not(:disabled),
.category-parcours__next:hover:not(:disabled) {
  background: #059669;
}

.category-parcours__next {
  background: #9ca3af;
  color: #fff;
}

.category-parcours__action:disabled {
  border: 0;
  background: #10b981;
  color: #fff;
  opacity: 0.6;
}

.category-parcours__feedback {
  min-height: 24px;
  margin: -8px 24px 24px;
}

.category-parcours__result {
  margin: auto;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

@media (max-width: 760px) {
  .category-parcours__body {
    padding: 18px;
  }

  .category-parcours__station-header,
  .category-parcours__station > p:not(.category-parcours__feedback),
  .category-parcours__question,
  .category-parcours__choices,
  .category-parcours__actions {
    margin-right: 0;
    margin-left: 0;
  }

  .category-parcours__station-header {
    padding: 15px 18px;
  }

  .category-parcours__station > p:not(.category-parcours__feedback),
  .category-parcours__question,
  .category-parcours__choices,
  .category-parcours__actions {
    margin-right: 18px;
    margin-left: 18px;
  }

  .category-parcours__feedback {
    margin-right: 18px;
    margin-left: 18px;
  }
}

/* Forum pages use the same restrained, rectangular language as the app menus. */
.forum-page main {
  overflow: visible;
}

.forum-page .forum-main {
  padding-top: clamp(32px, 5vw, 64px) !important;
  background: var(--ra-paper);
}

.forum-page .forum-intro {
  max-width: 820px;
  margin: 0 0 36px;
}

.forum-page .forum-intro h1 {
  max-width: 760px;
  margin: 0 0 12px;
  color: var(--ra-ink);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.forum-page .forum-intro p {
  max-width: 680px;
  margin: 0;
  color: var(--ra-ink-soft);
  font-size: 1.08rem;
}

.forum-page .forum-card,
.forum-page .forum-modal__dialog,
.forum-page .forum-modal__dialog--large {
  border: 1px solid var(--ra-line);
  border-radius: var(--ra-radius-sm);
  box-shadow: none;
}

.forum-page .forum-category,
.forum-page .forum-thread-card {
  border: 1px solid var(--ra-line);
  border-radius: 6px;
  box-shadow: none;
}

.forum-page .forum-category.is-active,
.forum-page .forum-thread-card.is-active {
  border-color: var(--ra-blue);
  background: var(--ra-blue-soft);
  box-shadow: none;
}

.forum-page .forum-search input,
.forum-page .forum-form input,
.forum-page .forum-form select,
.forum-page .forum-form textarea,
.forum-page .cta-btn,
.forum-page button {
  border-radius: 7px;
}

.forum-page .forum-thread-card__badges span,
.forum-page .thread-page__category {
  border-radius: 0;
  background: transparent;
}

/* Heroes keep the product in view instead of letting oversized copy dominate. */
.ra-hero {
  padding: clamp(62px, 8vw, 96px) 0 clamp(70px, 8vw, 104px);
}

.ra-hero-grid {
  gap: clamp(38px, 5vw, 70px);
  grid-template-columns: minmax(0, 0.88fr) minmax(430px, 1.12fr);
}

.ra-hero h1 {
  max-width: 660px;
  font-size: clamp(2.75rem, 4.8vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.ra-segment-hero {
  padding: clamp(62px, 8vw, 96px) 0;
}

.ra-segment-grid {
  gap: clamp(38px, 5vw, 68px);
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
}

.ra-segment-hero h1,
.ra-segment-hero--education h1 {
  max-width: 680px;
  font-size: clamp(2.6rem, 4.25vw, 4.35rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

/* Rotating product views use the same restrained window language as the app. */
[data-hero-gallery] {
  position: relative;
}

[data-hero-gallery].ra-product-stage {
  aspect-ratio: 16 / 10;
}

[data-hero-gallery] .ra-browser-frame {
  inset: 0;
  border-radius: var(--ra-radius-lg);
}

[data-hero-gallery] .ra-browser-bar {
  position: absolute;
  z-index: 7;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  height: 42px;
  padding: 0 14px;
  border-radius: var(--ra-radius-lg) var(--ra-radius-lg) 0 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
}

[data-hero-gallery] .ra-browser-bar i {
  width: 11px;
  height: 11px;
  flex: none;
  border-radius: 50%;
}

[data-hero-gallery] .ra-browser-bar i:nth-child(1) {
  background: #ff5f57;
}

[data-hero-gallery] .ra-browser-bar i:nth-child(2) {
  background: #febc2e;
}

[data-hero-gallery] .ra-browser-bar i:nth-child(3) {
  background: #28c840;
}

.ra-browser-title {
  min-width: 0;
  margin-left: auto;
  overflow: hidden;
  color: var(--ra-ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ra-hero-image-shell {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #edf1f7;
}

.ra-browser-frame > .ra-hero-image-shell,
.ra-segment-media > .ra-hero-image-shell {
  height: calc(100% - 42px);
  margin-top: 42px;
}

.ra-segment-media > .ra-hero-image-shell {
  aspect-ratio: auto;
}

.ra-hero-image-shell::before {
  position: absolute;
  z-index: 0;
  inset: -22px;
  background: var(--hero-backdrop) center / cover no-repeat;
  content: '';
  filter: blur(20px) saturate(0.8);
  opacity: 0;
  transform: scale(1.1);
  transition: opacity 220ms ease;
}

.ra-hero-image-shell[data-hero-kind='map']::before {
  opacity: 0.28;
}

.ra-hero-image-shell .ra-image-zoom,
.ra-hero-image-shell img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
}

.ra-hero-image-shell img,
.ra-browser-frame .ra-hero-image-shell img,
.ra-segment-media .ra-hero-image-shell img {
  min-height: 0;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}

.ra-hero-story-progress {
  position: absolute;
  z-index: 6;
  top: 46px;
  right: 10px;
  left: 10px;
  display: grid;
  gap: 5px;
  grid-template-columns: repeat(var(--story-count, 4), minmax(0, 1fr));
}

.ra-hero-story-segment {
  position: relative;
  height: 16px;
  overflow: hidden;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.ra-hero-story-segment::before,
.ra-hero-story-segment i {
  position: absolute;
  top: 3px;
  right: 0;
  left: 0;
  display: block;
  height: 3px;
  border-radius: 999px;
}

.ra-hero-story-segment::before {
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(18, 32, 51, 0.18), 0 1px 2px rgba(18, 32, 51, 0.16);
  content: '';
}

.ra-hero-story-segment i {
  z-index: 1;
  background: var(--ra-blue);
  transform: scaleX(0);
  transform-origin: left;
}

.ra-hero-story-segment.is-complete i {
  transform: scaleX(1);
}

.ra-hero-story-segment.is-current i.is-running {
  animation: ra-gallery-progress 5.6s linear forwards;
}

.ra-hero-story-segment:focus-visible {
  outline: 2px solid var(--ra-blue);
  outline-offset: 1px;
}

.ra-hero-gallery-controls {
  position: absolute;
  z-index: 8;
  right: 14px;
  bottom: 14px;
  display: flex;
  gap: 6px;
}

.ra-hero-gallery-control {
  display: grid;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(216, 224, 235, 0.96);
  border-radius: 8px;
  padding: 0;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ra-ink);
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.16);
  cursor: pointer;
  font: inherit;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  place-items: center;
}

.ra-hero-gallery-control:hover {
  border-color: var(--ra-blue);
  background: #fff;
  color: var(--ra-blue);
}

.ra-hero-gallery-control:focus-visible {
  outline: 3px solid var(--ra-blue);
  outline-offset: 2px;
}

@keyframes ra-gallery-progress {
  to {
    transform: scaleX(1);
  }
}

/* Product screenshots enlarge without leaving the page. */
.ra-image-zoom {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
  font: inherit;
  text-align: inherit;
}

.ra-image-zoom:focus-visible {
  outline: 3px solid var(--ra-blue);
  outline-offset: -3px;
}

.ra-image-lightbox {
  width: min(94vw, 1380px);
  max-width: none;
  max-height: 92vh;
  overflow: auto;
  border: 0;
  border-radius: 12px;
  padding: 48px 28px 24px;
  background: #f5f7fa;
  box-shadow: 0 30px 90px rgba(6, 15, 30, 0.38);
}

.ra-image-lightbox::backdrop {
  background: rgba(8, 15, 27, 0.76);
  backdrop-filter: blur(4px);
}

.ra-image-lightbox figure {
  display: grid;
  margin: 0;
  gap: 12px;
  justify-items: center;
}

.ra-image-lightbox img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(92vh - 110px);
  object-fit: contain;
}

.relaunch-page app-showcase {
  display: block;
}

.ra-app-showcase {
  overflow: hidden;
  background: var(--ra-paper);
}

.ra-app-showcase__intro {
  max-width: 760px;
}

.ra-app-showcase__viewport {
  margin-top: 36px;
  overflow: hidden;
  cursor: grab;
}

.ra-app-showcase__viewport:focus-visible {
  outline: 3px solid var(--ra-blue);
  outline-offset: 5px;
}

.ra-app-showcase__track {
  display: flex;
  width: max-content;
  gap: 22px;
  padding: 4px 22px 12px;
  will-change: transform;
}

.ra-app-showcase__screen {
  width: clamp(160px, 17vw, 260px);
  flex: none;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--ra-line);
  border-radius: 20px;
  background: var(--ra-surface);
  box-shadow: var(--ra-shadow);
}

.ra-app-showcase__screen img {
  display: block;
  width: 100%;
  height: auto;
}

.ra-image-lightbox figcaption {
  color: var(--ra-ink-soft);
  font-size: 0.9rem;
  text-align: center;
}

.ra-image-lightbox__close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  width: 34px;
  height: 34px;
  border: 1px solid var(--ra-line);
  border-radius: 6px;
  padding: 0;
  background: #fff;
  color: var(--ra-ink);
  cursor: pointer;
  font: inherit;
  font-size: 1.25rem;
  place-items: center;
}

/* Category demos now advance like the game, without an editor-like side menu. */
.category-parcours {
  min-height: 430px;
  grid-template-columns: 1fr;
}

.category-parcours__menu {
  display: none;
}

.category-parcours__body {
  align-content: start;
  gap: 16px;
}

.category-parcours__progress {
  display: grid;
  width: min(100%, 620px);
  margin: 0 auto;
  gap: 8px;
}

.category-parcours__progress strong {
  color: var(--ra-ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
}

.category-parcours__progress-track {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.category-parcours__progress-track i {
  height: 7px;
  border-radius: 4px;
  background: #dce3ed;
}

.category-parcours__progress-track i.is-current {
  background: var(--ra-blue);
}

.category-parcours__progress-track i.is-complete {
  background: #10b981;
}

@media (max-width: 820px) {
  .forum-page .forum-intro {
    margin-bottom: 24px;
  }
}

@media (max-width: 980px) {
  .ra-hero-grid,
  .ra-segment-grid {
    grid-template-columns: 1fr;
  }

  .ra-hero h1,
  .ra-segment-hero h1,
  .ra-segment-hero--education h1 {
    max-width: 780px;
  }
}

@media (max-width: 680px) {
  .ra-hero h1,
  .ra-segment-hero h1,
  .ra-segment-hero--education h1 {
    font-size: clamp(2.4rem, 11.5vw, 3.6rem);
    line-height: 1;
  }

  .ra-hero-story-progress {
    top: 42px;
    right: 8px;
    left: 8px;
    gap: 4px;
  }

  [data-hero-gallery] .ra-browser-bar {
    height: 38px;
    padding: 0 10px;
  }

  [data-hero-gallery] .ra-browser-bar i {
    width: 9px;
    height: 9px;
  }

  .ra-browser-title {
    font-size: 0.68rem;
  }

  .ra-browser-frame > .ra-hero-image-shell,
  .ra-segment-media > .ra-hero-image-shell {
    height: calc(100% - 38px);
    margin-top: 38px;
  }

  .ra-image-lightbox {
    width: 96vw;
    padding: 48px 14px 18px;
  }
}

@media print {
  body.relaunch-page * {
    visibility: hidden;
  }

  body.relaunch-page .ra-generator-preview,
  body.relaunch-page .ra-generator-preview * {
    visibility: visible;
  }

  body.relaunch-page .ra-generator-preview {
    position: absolute;
    inset: 0;
    width: 100%;
    border: 0;
    padding: 0;
  }

  body.relaunch-page [data-generator-print] {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Shared product proof: one readable app view with compact editor-like selectors. */
[data-product-gallery] {
  display: grid;
  width: 100%;
  gap: 14px;
}

[data-gallery-stage] {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--ra-line);
  border-radius: var(--ra-radius);
  padding: 0;
  background: var(--ra-surface-alt);
  box-shadow: var(--ra-shadow);
  color: inherit;
  cursor: zoom-in;
}

[data-gallery-stage]::after {
  position: absolute;
  inset: 0;
  border: 3px solid transparent;
  border-radius: inherit;
  content: '';
  pointer-events: none;
}

[data-gallery-stage]:focus-visible {
  outline: none;
}

[data-gallery-stage]:focus-visible::after {
  border-color: var(--ra-blue);
}

[data-gallery-image] {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: contain;
  object-position: center;
}

.ra-product-gallery__meta {
  display: flex;
  min-height: 28px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

[data-gallery-current-title],
[data-gallery-title]:not([data-gallery-tab]) {
  margin: 0;
  color: var(--ra-ink);
  font-size: 0.95rem;
  font-weight: 750;
  line-height: 1.35;
}

.ra-product-gallery__tabs,
[data-product-gallery] [role='tablist'] {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

[data-gallery-tab] {
  display: flex;
  min-width: 0;
  min-height: 52px;
  align-items: center;
  border: 1px solid var(--ra-line);
  border-radius: 8px;
  padding: 10px 12px;
  background: var(--ra-surface);
  color: var(--ra-ink-soft);
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
}

[data-gallery-tab]:hover {
  border-color: #aebcd0;
  color: var(--ra-ink);
}

[data-gallery-tab].is-active,
[data-gallery-tab][aria-selected='true'] {
  border-color: var(--ra-blue);
  background: #edf4ff;
  color: var(--ra-ink);
}

[data-gallery-tab]:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.32);
  outline-offset: 2px;
}

/* Final hero sizing wins over the legacy relaunch declarations above. */
.ra-hero h1 {
  max-width: 660px;
  font-size: clamp(2.75rem, 4.5vw, 4.5rem);
  text-wrap: balance;
}

.ra-segment-hero h1,
.ra-segment-hero--education h1 {
  max-width: 680px;
  font-size: clamp(2.65rem, 4.25vw, 4.35rem);
  text-wrap: balance;
}

.ra-hero-story-segment {
  height: 44px;
}

@media (max-width: 680px) {
  .ra-hero h1,
  .ra-segment-hero h1,
  .ra-segment-hero--education h1 {
    max-width: 100%;
    font-size: clamp(2.25rem, 10vw, 2.75rem);
  }

  .ra-product-gallery__tabs,
  [data-product-gallery] [role='tablist'] {
    display: flex;
    margin-inline: -14px;
    padding: 2px 14px 8px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: thin;
  }

  [data-gallery-tab] {
    flex: 0 0 min(78vw, 280px);
    scroll-snap-align: start;
  }
}
