/* ============================================================
   Regístrate MX - Home
   Premium Apple-like Landing Page
   Compatible with html[data-theme="dark"]
   ============================================================ */

:root {
  --rmx-bg: #f7f9fc;
  --rmx-bg-soft: #ffffff;
  --rmx-bg-elevated: rgba(255, 255, 255, 0.82);
  --rmx-bg-glass: rgba(255, 255, 255, 0.64);

  --rmx-text: #101828;
  --rmx-text-soft: #344054;
  --rmx-muted: #667085;
  --rmx-border: rgba(15, 23, 42, 0.1);

  --rmx-brand: #2563eb;
  --rmx-brand-2: #7c3aed;
  --rmx-brand-3: #06b6d4;
  --rmx-success: #16a34a;
  --rmx-warning: #f59e0b;

  --rmx-shadow-sm: 0 12px 30px rgba(15, 23, 42, 0.08);
  --rmx-shadow-md: 0 24px 70px rgba(15, 23, 42, 0.12);
  --rmx-shadow-lg: 0 40px 120px rgba(15, 23, 42, 0.18);

  --rmx-radius-sm: 14px;
  --rmx-radius-md: 22px;
  --rmx-radius-lg: 32px;
  --rmx-radius-xl: 44px;

  --rmx-container: 1180px;
  --rmx-header-offset: 0px;
  --rmx-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-theme="dark"] {
  --rmx-bg: #05070d;
  --rmx-bg-soft: #0b1020;
  --rmx-bg-elevated: rgba(13, 18, 32, 0.82);
  --rmx-bg-glass: rgba(15, 23, 42, 0.62);

  --rmx-text: #f8fafc;
  --rmx-text-soft: #d0d5dd;
  --rmx-muted: #98a2b3;
  --rmx-border: rgba(255, 255, 255, 0.1);

  --rmx-shadow-sm: 0 12px 30px rgba(0, 0, 0, 0.28);
  --rmx-shadow-md: 0 24px 70px rgba(0, 0, 0, 0.36);
  --rmx-shadow-lg: 0 40px 120px rgba(0, 0, 0, 0.46);
}

.rmx-home {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 34rem),
    radial-gradient(circle at top right, rgba(124, 58, 237, 0.12), transparent 34rem),
    var(--rmx-bg);
  color: var(--rmx-text);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

.rmx-home *,
.rmx-home *::before,
.rmx-home *::after {
  box-sizing: border-box;
}

.rmx-home a {
  color: inherit;
  text-decoration: none;
}

.rmx-home img,
.rmx-home svg {
  max-width: 100%;
}

.rmx-container {
  width: min(100% - 40px, var(--rmx-container));
  margin-inline: auto;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* ============================================================
   Shared Components
   ============================================================ */

.rmx-eyebrow,
.rmx-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  padding: 8px 13px;
  border: 1px solid var(--rmx-border);
  border-radius: 999px;
  background: var(--rmx-bg-glass);
  color: var(--rmx-brand);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

html[data-theme="dark"] .rmx-eyebrow,
html[data-theme="dark"] .rmx-section-kicker {
  color: #93c5fd;
}

.rmx-eyebrow__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rmx-brand), var(--rmx-brand-2));
  box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.12);
}

.rmx-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition:
    transform 260ms var(--rmx-ease),
    box-shadow 260ms var(--rmx-ease),
    border-color 260ms var(--rmx-ease),
    background 260ms var(--rmx-ease);
  will-change: transform;
}

.rmx-btn--primary {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent),
    linear-gradient(135deg, var(--rmx-brand), var(--rmx-brand-2));
  box-shadow: 0 18px 38px rgba(37, 99, 235, 0.28);
}

.rmx-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 50px rgba(37, 99, 235, 0.36);
}

.rmx-btn--secondary {
  color: var(--rmx-text);
  background: var(--rmx-bg-elevated);
  border-color: var(--rmx-border);
  box-shadow: var(--rmx-shadow-sm);
}

.rmx-btn--secondary:hover,
.rmx-btn--ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.35);
}

.rmx-btn--ghost {
  color: var(--rmx-text);
  background: transparent;
  border-color: var(--rmx-border);
}

.rmx-section {
  position: relative;
  padding: 105px 0;
}

.rmx-section-head {
  max-width: 720px;
  margin-bottom: 38px;
}

.rmx-section-head--center {
  margin-inline: auto;
  text-align: center;
}

.rmx-section-head--center .rmx-section-kicker {
  margin-inline: auto;
}

.rmx-section-head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  max-width: none;
}

.rmx-section-head h2 {
  margin: 18px 0 14px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.03;
  letter-spacing: -0.055em;
}

.rmx-section-head p {
  margin: 0;
  color: var(--rmx-muted);
  font-size: 1.06rem;
  line-height: 1.75;
}

.rmx-link-arrow,
.rmx-card-action {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--rmx-brand);
  font-weight: 850;
}

html[data-theme="dark"] .rmx-link-arrow,
html[data-theme="dark"] .rmx-card-action {
  color: #93c5fd;
}

/* ============================================================
   Hero
   ============================================================ */

.rmx-hero {
  position: relative;
  min-height: calc(100vh - var(--rmx-header-offset));
  padding: 100px 0 70px;
  display: flex;
  align-items: center;
  isolation: isolate;
}

.rmx-hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}

.rmx-orb {
  position: absolute;
  display: block;
  border-radius: 999px;
  filter: blur(12px);
  opacity: 0.72;
  animation: rmxFloat 12s var(--rmx-ease) infinite alternate;
}

.rmx-orb--one {
  width: 520px;
  height: 520px;
  top: -160px;
  left: -160px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.28), transparent 66%);
}

.rmx-orb--two {
  width: 460px;
  height: 460px;
  right: -130px;
  top: 10%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.26), transparent 68%);
  animation-delay: -4s;
}

.rmx-orb--three {
  width: 340px;
  height: 340px;
  bottom: -90px;
  left: 42%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.18), transparent 70%);
  animation-delay: -7s;
}

.rmx-grid-glow {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--rmx-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--rmx-border) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(circle at 50% 20%, #000 0%, transparent 64%);
  opacity: 0.42;
}

.rmx-hero__container {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, 0.96fr);
  gap: 64px;
  align-items: center;
}

.rmx-hero__content {
  max-width: 720px;
  position: relative;
  z-index: 2;
}

.rmx-hero__title {
  margin: 24px 0 22px;
  max-width: 860px;
  font-size: clamp(3rem, 7.3vw, 6.9rem);
  line-height: 0.92;
  letter-spacing: -0.085em;
  font-weight: 920;
}

.rmx-hero__text {
  max-width: 640px;
  margin: 0 0 30px;
  color: var(--rmx-text-soft);
  font-size: clamp(1.05rem, 1.6vw, 1.24rem);
  line-height: 1.72;
}

.rmx-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.rmx-hero-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 640px;
  padding: 10px;
  border: 1px solid var(--rmx-border);
  border-radius: 999px;
  background: var(--rmx-bg-elevated);
  box-shadow: var(--rmx-shadow-md);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.rmx-hero-search__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  color: var(--rmx-brand);
  background: rgba(37, 99, 235, 0.1);
}

.rmx-hero-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--rmx-text);
  font-size: 0.98rem;
}

.rmx-hero-search input::placeholder {
  color: var(--rmx-muted);
}

.rmx-hero-search button {
  height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--rmx-brand), var(--rmx-brand-2));
  font-weight: 850;
  cursor: pointer;
}

.rmx-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.rmx-trust-row span {
  display: inline-flex;
  padding: 8px 12px;
  border: 1px solid var(--rmx-border);
  border-radius: 999px;
  color: var(--rmx-muted);
  background: var(--rmx-bg-glass);
  font-size: 0.84rem;
  font-weight: 750;
}

/* Hero Visual */

.rmx-hero__visual {
  position: relative;
  min-height: 620px;
  padding: 42px 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  isolation: isolate;
}

.rmx-device-card {
  position: relative;
  z-index: 3;
  width: min(100%, 470px);
  margin-inline: auto;
  padding: 24px;
  border: 1px solid var(--rmx-border);
  border-radius: 38px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.42)),
    var(--rmx-bg-elevated);
  box-shadow: var(--rmx-shadow-lg);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  transform-style: preserve-3d;
}

html[data-theme="dark"] .rmx-device-card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    var(--rmx-bg-elevated);
}

.rmx-device-card__top,
.rmx-device-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.rmx-device-card__label {
  display: block;
  margin-bottom: 4px;
  color: var(--rmx-muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.rmx-device-card__top strong {
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.rmx-status-pill,
.rmx-chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 850;
}

.rmx-status-pill {
  color: #155e35;
  background: rgba(22, 163, 74, 0.12);
  border: 1px solid rgba(22, 163, 74, 0.18);
}

html[data-theme="dark"] .rmx-status-pill {
  color: #86efac;
}

.rmx-status-pill--active {
  color: #075985;
  background: rgba(6, 182, 212, 0.14);
  border-color: rgba(6, 182, 212, 0.2);
}

html[data-theme="dark"] .rmx-status-pill--active {
  color: #67e8f9;
}

.rmx-progress-stack {
  display: grid;
  gap: 14px;
  margin: 28px 0;
}

.rmx-mini-record {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 13px;
  padding: 15px;
  border: 1px solid var(--rmx-border);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.62);
}

html[data-theme="dark"] .rmx-mini-record {
  background: rgba(255, 255, 255, 0.045);
}

.rmx-mini-record__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: rgba(37, 99, 235, 0.1);
}

.rmx-mini-record strong {
  display: block;
  margin-bottom: 3px;
  font-size: 0.96rem;
}

.rmx-mini-record p {
  margin: 0;
  color: var(--rmx-muted);
  font-size: 0.82rem;
}

.rmx-mini-record > span:last-child {
  color: var(--rmx-brand);
  font-size: 0.82rem;
  font-weight: 900;
}

.rmx-device-card__footer {
  padding-top: 4px;
}

.rmx-device-card__footer strong,
.rmx-device-card__footer .rmx-counter {
  font-size: 2.2rem;
  letter-spacing: -0.06em;
}

.rmx-device-card__footer small {
  display: block;
  max-width: 190px;
  color: var(--rmx-muted);
  line-height: 1.35;
}

.rmx-device-card__footer a {
  color: var(--rmx-brand);
  font-weight: 850;
}

.rmx-floating-card {
  position: absolute;
  z-index: 4;
  min-width: 150px;
  padding: 16px 18px;
  border: 1px solid var(--rmx-border);
  border-radius: 24px;
  background: var(--rmx-bg-elevated);
  box-shadow: var(--rmx-shadow-md);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  pointer-events: none;
  animation: rmxHeroFloatSoft 7s var(--rmx-ease) infinite alternate;
}

.rmx-floating-card span {
  display: block;
  color: var(--rmx-muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.rmx-floating-card strong {
  display: block;
  margin-top: 4px;
  font-size: 1.25rem;
  letter-spacing: -0.04em;
}

.rmx-floating-card--one {
  top: 54px;
  left: 8px;
  right: auto;
  bottom: auto;
}

.rmx-floating-card--two {
  right: 0;
  bottom: 82px;
  left: auto;
  top: auto;
  animation-delay: -3s;
}

/* ============================================================
   Value Strip
   ============================================================ */

.rmx-value-strip {
  position: relative;
  margin-top: -30px;
  z-index: 2;
}

.rmx-value-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid var(--rmx-border);
  border-radius: var(--rmx-radius-lg);
  background: var(--rmx-bg-elevated);
  box-shadow: var(--rmx-shadow-md);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.rmx-value-item {
  padding: 26px;
  border-right: 1px solid var(--rmx-border);
}

.rmx-value-item:last-child {
  border-right: 0;
}

.rmx-value-item strong {
  display: block;
  margin-bottom: 7px;
  font-size: 1.05rem;
}

.rmx-value-item span {
  color: var(--rmx-muted);
  line-height: 1.55;
}

/* ============================================================
   Categories
   ============================================================ */

.rmx-category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.rmx-category-card {
  position: relative;
  min-height: 180px;
  padding: 24px;
  border: 1px solid var(--rmx-border);
  border-radius: var(--rmx-radius-md);
  background: var(--rmx-bg-elevated);
  box-shadow: var(--rmx-shadow-sm);
  overflow: hidden;
  transition:
    transform 300ms var(--rmx-ease),
    box-shadow 300ms var(--rmx-ease),
    border-color 300ms var(--rmx-ease);
}

.rmx-category-card::before {
  content: "";
  position: absolute;
  inset: auto -40% -55% -40%;
  height: 120px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.16), transparent 70%);
  opacity: 0;
  transition: opacity 300ms var(--rmx-ease);
}

.rmx-category-card:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: var(--rmx-shadow-md);
}

.rmx-category-card:hover::before {
  opacity: 1;
}

.rmx-category-card__icon {
  display: inline-flex;
  margin-bottom: 28px;
  font-size: 2rem;
}

.rmx-category-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.16rem;
  letter-spacing: -0.03em;
}

.rmx-category-card small {
  display: block;
  color: var(--rmx-muted);
  line-height: 1.5;
}

/* ============================================================
   How It Works
   ============================================================ */

.rmx-how {
  background:
    linear-gradient(180deg, transparent, rgba(37, 99, 235, 0.045), transparent);
}

.rmx-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.rmx-step {
  position: relative;
  padding: 30px;
  border: 1px solid var(--rmx-border);
  border-radius: var(--rmx-radius-lg);
  background: var(--rmx-bg-elevated);
  box-shadow: var(--rmx-shadow-sm);
  overflow: hidden;
}

.rmx-step__number {
  position: absolute;
  right: 24px;
  top: 20px;
  color: rgba(37, 99, 235, 0.18);
  font-size: 3.4rem;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.08em;
}

.rmx-step__icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 30px;
  border-radius: 19px;
  background: rgba(37, 99, 235, 0.1);
  font-size: 1.55rem;
}

.rmx-step h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  font-size: 1.34rem;
  letter-spacing: -0.035em;
}

.rmx-step p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--rmx-muted);
  line-height: 1.72;
}

/* ============================================================
   Featured Opportunities
   ============================================================ */

.rmx-opportunity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.rmx-opportunity-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 430px;
  padding: 24px;
  border: 1px solid var(--rmx-border);
  border-radius: var(--rmx-radius-lg);
  background: var(--rmx-bg-elevated);
  box-shadow: var(--rmx-shadow-sm);
  overflow: hidden;
  transition:
    transform 300ms var(--rmx-ease),
    box-shadow 300ms var(--rmx-ease),
    border-color 300ms var(--rmx-ease);
}

.rmx-opportunity-card:hover {
  transform: translateY(-7px);
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: var(--rmx-shadow-md);
}

.rmx-opportunity-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 26px;
}

.rmx-chip {
  color: #1d4ed8;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.14);
}

html[data-theme="dark"] .rmx-chip {
  color: #93c5fd;
}

.rmx-opportunity-card h3 {
  margin: 0 0 14px;
  font-size: 1.55rem;
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.rmx-opportunity-card h3 a:hover {
  color: var(--rmx-brand);
}

.rmx-opportunity-card p {
  margin: 0 0 22px;
  color: var(--rmx-muted);
  line-height: 1.68;
}

.rmx-opportunity-meta {
  display: grid;
  gap: 12px;
  margin: auto 0 24px;
  padding: 0;
}

.rmx-opportunity-meta div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rmx-border);
}

.rmx-opportunity-meta dt {
  color: var(--rmx-muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.rmx-opportunity-meta dd {
  margin: 0;
  text-align: right;
  font-size: 0.9rem;
  font-weight: 850;
}

.rmx-card-action {
  margin-top: auto;
}

/* ============================================================
   Platform Preview
   ============================================================ */

.rmx-platform__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 60px;
  align-items: center;
}

.rmx-platform__content h2 {
  margin: 18px 0 18px;
  font-size: clamp(2.2rem, 4.5vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.065em;
}

.rmx-platform__content > p {
  margin: 0 0 28px;
  color: var(--rmx-muted);
  font-size: 1.06rem;
  line-height: 1.75;
}

.rmx-feature-list {
  display: grid;
  gap: 14px;
}

.rmx-feature-list div {
  padding: 18px;
  border: 1px solid var(--rmx-border);
  border-radius: 22px;
  background: var(--rmx-bg-elevated);
}

.rmx-feature-list span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--rmx-brand);
  font-size: 0.82rem;
  font-weight: 900;
}

.rmx-feature-list strong {
  display: block;
  margin-bottom: 5px;
  font-size: 1.02rem;
}

.rmx-feature-list p {
  margin: 0;
  color: var(--rmx-muted);
  line-height: 1.6;
}

.rmx-dashboard-preview {
  min-height: 430px;
  border: 1px solid var(--rmx-border);
  border-radius: 36px;
  background: var(--rmx-bg-elevated);
  box-shadow: var(--rmx-shadow-lg);
  overflow: hidden;
  transform-style: preserve-3d;
}

.rmx-dashboard-preview__header {
  display: flex;
  gap: 8px;
  padding: 18px;
  border-bottom: 1px solid var(--rmx-border);
}

.rmx-dashboard-preview__header span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--rmx-border);
}

.rmx-dashboard-preview__body {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 22px;
}

.rmx-preview-sidebar {
  display: grid;
  align-content: start;
  gap: 12px;
}

.rmx-preview-sidebar span,
.rmx-preview-line,
.rmx-preview-cards span,
.rmx-preview-table span {
  display: block;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.18), rgba(124, 58, 237, 0.1));
}

.rmx-preview-sidebar span {
  height: 38px;
}

.rmx-preview-content {
  display: grid;
  gap: 20px;
}

.rmx-preview-line--large {
  width: 70%;
  height: 34px;
}

.rmx-preview-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.rmx-preview-cards span {
  height: 110px;
  border-radius: 22px;
}

.rmx-preview-table {
  display: grid;
  gap: 12px;
}

.rmx-preview-table span {
  height: 24px;
  opacity: 0.8;
}

/* ============================================================
   Organizations CTA
   ============================================================ */

.rmx-org-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 36px;
  padding: 48px;
  border: 1px solid var(--rmx-border);
  border-radius: var(--rmx-radius-xl);
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.16), transparent 34rem),
    var(--rmx-bg-elevated);
  box-shadow: var(--rmx-shadow-md);
}

.rmx-org-card h2 {
  margin: 18px 0 14px;
  max-width: 740px;
  font-size: clamp(2rem, 4vw, 3.65rem);
  line-height: 1.02;
  letter-spacing: -0.065em;
}

.rmx-org-card p {
  max-width: 760px;
  margin: 0;
  color: var(--rmx-muted);
  line-height: 1.72;
}

.rmx-org-card__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 220px;
}

/* ============================================================
   Stats
   ============================================================ */

.rmx-stats {
  padding-top: 30px;
}

.rmx-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--rmx-border);
  border-radius: var(--rmx-radius-lg);
  background: var(--rmx-bg-elevated);
  box-shadow: var(--rmx-shadow-sm);
  overflow: hidden;
}

.rmx-stat {
  padding: 30px;
  text-align: center;
  border-right: 1px solid var(--rmx-border);
}

.rmx-stat:last-child {
  border-right: 0;
}

.rmx-stat strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.065em;
}

.rmx-stat span:last-child {
  color: var(--rmx-muted);
  font-weight: 750;
}

/* ============================================================
   FAQ
   ============================================================ */

.rmx-faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(460px, 1.22fr);
  gap: 54px;
  align-items: start;
}

.rmx-faq__intro {
  position: sticky;
  top: 110px;
}

.rmx-faq__intro h2 {
  margin: 18px 0 14px;
  font-size: clamp(2.1rem, 4vw, 3.7rem);
  line-height: 1;
  letter-spacing: -0.065em;
}

.rmx-faq__intro p {
  color: var(--rmx-muted);
  line-height: 1.72;
}

.rmx-accordion {
  display: grid;
  gap: 14px;
}

.rmx-accordion__item {
  border: 1px solid var(--rmx-border);
  border-radius: 24px;
  background: var(--rmx-bg-elevated);
  box-shadow: var(--rmx-shadow-sm);
  overflow: hidden;
}

.rmx-accordion__item button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 22px 24px;
  border: 0;
  background: transparent;
  color: var(--rmx-text);
  text-align: left;
  font-size: 1rem;
  font-weight: 850;
  cursor: pointer;
}

.rmx-accordion__item button span {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.rmx-accordion__item button span::before,
.rmx-accordion__item button span::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 0;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: translateY(-50%);
  transition: transform 220ms var(--rmx-ease);
}

.rmx-accordion__item button span::after {
  transform: translateY(-50%) rotate(90deg);
}

.rmx-accordion__item.is-open button span::after {
  transform: translateY(-50%) rotate(0deg);
}

.rmx-accordion__content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 260ms var(--rmx-ease);
}

.rmx-accordion__item.is-open .rmx-accordion__content {
  grid-template-rows: 1fr;
}

.rmx-accordion__content > p {
  min-height: 0;
  overflow: hidden;
  margin: 0;
  padding: 0 24px 0;
  color: var(--rmx-muted);
  line-height: 1.7;
  transition: padding 260ms var(--rmx-ease);
}

.rmx-accordion__item.is-open .rmx-accordion__content > p {
  padding-bottom: 24px;
}

/* ============================================================
   Final CTA
   ============================================================ */

.rmx-final-cta {
  padding: 80px 0 120px;
}

.rmx-final-cta__card {
  position: relative;
  overflow: hidden;
  padding: 64px 40px;
  border: 1px solid var(--rmx-border);
  border-radius: var(--rmx-radius-xl);
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.22), transparent 34rem),
    radial-gradient(circle at bottom right, rgba(124, 58, 237, 0.18), transparent 30rem),
    var(--rmx-bg-elevated);
  box-shadow: var(--rmx-shadow-lg);
  text-align: center;
}

.rmx-final-cta__card .rmx-section-kicker {
  margin-inline: auto;
}

.rmx-final-cta__card h2 {
  max-width: 790px;
  margin: 20px auto 16px;
  font-size: clamp(2.4rem, 5.2vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.075em;
}

.rmx-final-cta__card p {
  max-width: 680px;
  margin: 0 auto 28px;
  color: var(--rmx-muted);
  font-size: 1.08rem;
  line-height: 1.74;
}

.rmx-final-cta__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* ============================================================
   Effects
   ============================================================ */

[data-rmx-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 700ms var(--rmx-ease),
    transform 700ms var(--rmx-ease);
}

[data-rmx-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-rmx-tilt] {
  will-change: transform;
}

@keyframes rmxFloat {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  100% {
    transform: translate3d(12px, -18px, 0) scale(1.035);
  }
}

@keyframes rmxHeroFloatSoft {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(0, -8px, 0);
  }
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1280px) {
  .rmx-hero__container {
    grid-template-columns: minmax(0, 1fr) minmax(400px, 0.9fr);
    gap: 42px;
  }

  .rmx-hero__title {
    font-size: clamp(3rem, 7vw, 5.8rem);
  }

  .rmx-hero__visual {
    padding-inline: 20px;
  }

  .rmx-floating-card--one {
    left: -4px;
    top: 42px;
  }

  .rmx-floating-card--two {
    right: -4px;
    bottom: 72px;
  }
}

@media (max-width: 1080px) {
  .rmx-hero__container,
  .rmx-platform__grid,
  .rmx-faq__grid {
    grid-template-columns: 1fr;
  }

  .rmx-hero {
    min-height: auto;
  }

  .rmx-hero__content {
    max-width: 880px;
  }

  .rmx-hero__title {
    max-width: 900px;
    font-size: clamp(3.2rem, 10vw, 6rem);
  }

  .rmx-hero__visual {
    min-height: 560px;
    padding: 36px 20px;
  }

  .rmx-floating-card--one {
    left: 40px;
    top: 34px;
  }

  .rmx-floating-card--two {
    right: 40px;
    bottom: 54px;
  }

  .rmx-category-grid,
  .rmx-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rmx-opportunity-grid,
  .rmx-steps {
    grid-template-columns: 1fr;
  }

  .rmx-section-head--split {
    align-items: flex-start;
    flex-direction: column;
  }

  .rmx-org-card {
    grid-template-columns: 1fr;
  }

  .rmx-org-card__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .rmx-faq__intro {
    position: static;
  }
}

@media (max-width: 760px) {
  .rmx-container {
    width: min(100% - 28px, var(--rmx-container));
  }

  .rmx-hero {
    min-height: auto;
    padding: 72px 0 50px;
  }

  .rmx-hero__container {
    gap: 28px;
  }

  .rmx-hero__title {
    font-size: clamp(2.7rem, 15vw, 4.7rem);
    line-height: 0.94;
    letter-spacing: -0.075em;
  }

  .rmx-hero-search {
    align-items: stretch;
    flex-direction: column;
    border-radius: 26px;
  }

  .rmx-hero-search__icon {
    display: none;
  }

  .rmx-hero-search input {
    min-height: 44px;
    padding: 0 10px;
  }

  .rmx-hero-search button {
    width: 100%;
  }

  .rmx-hero__visual {
    min-height: auto;
    padding: 28px 0 0;
  }

  .rmx-floating-card {
    display: none;
  }

  .rmx-value-strip {
    margin-top: 0;
  }

  .rmx-value-strip__grid,
  .rmx-stats-grid {
    grid-template-columns: 1fr;
  }

  .rmx-value-item,
  .rmx-stat {
    border-right: 0;
    border-bottom: 1px solid var(--rmx-border);
  }

  .rmx-value-item:last-child,
  .rmx-stat:last-child {
    border-bottom: 0;
  }

  .rmx-section {
    padding: 72px 0;
  }

  .rmx-section-head h2,
  .rmx-platform__content h2,
  .rmx-faq__intro h2,
  .rmx-org-card h2 {
    letter-spacing: -0.055em;
  }

  .rmx-category-grid {
    grid-template-columns: 1fr;
  }

  .rmx-category-card {
    min-height: 150px;
  }

  .rmx-device-card,
  .rmx-dashboard-preview,
  .rmx-org-card,
  .rmx-final-cta__card {
    border-radius: 28px;
  }

  .rmx-device-card {
    padding: 18px;
  }

  .rmx-device-card__footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .rmx-dashboard-preview__body {
    grid-template-columns: 1fr;
  }

  .rmx-preview-sidebar {
    display: none;
  }

  .rmx-preview-cards {
    grid-template-columns: 1fr;
  }

  .rmx-org-card {
    padding: 30px;
  }

  .rmx-org-card__actions {
    flex-direction: column;
  }

  .rmx-org-card__actions .rmx-btn {
    width: 100%;
  }

  .rmx-final-cta {
    padding-bottom: 80px;
  }

  .rmx-final-cta__card {
    padding: 42px 22px;
  }
}

@media (max-width: 480px) {
  .rmx-hero__actions,
  .rmx-final-cta__actions {
    flex-direction: column;
  }

  .rmx-btn {
    width: 100%;
  }

  .rmx-mini-record {
    grid-template-columns: 42px 1fr;
  }

  .rmx-mini-record > span:last-child {
    grid-column: 2;
  }

  .rmx-opportunity-meta div {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .rmx-opportunity-meta dd {
    text-align: left;
  }
}

/* ============================================================
   Reduce Motion
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  .rmx-home *,
  .rmx-home *::before,
  .rmx-home *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  [data-rmx-reveal] {
    opacity: 1;
    transform: none;
  }
}