@import url('https://fonts.googleapis.com/css2?family=Sora:wght@700;800&family=Manrope:wght@400;500;600&family=JetBrains+Mono:wght@400&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --surface-deep: #0D1117;
  --surface-dark: #161C24;
  --surface-mid: #1E2730;
  --surface-panel: #242D38;
  --surface-light: #F4F6F8;
  --surface-white: #FFFFFF;
  --resolve-green: #22C55E;
  --resolve-green-dim: #16A34A;
  --sla-amber: #F59E0B;
  --escalate-red: #EF4444;
  --text-on-dark-primary: #F0F4F8;
  --text-on-dark-secondary: #8FA3B8;
  --text-on-dark-muted: #4B6175;
  --text-on-light-primary: #0D1117;
  --text-on-light-secondary: #374151;
  --text-on-light-muted: #6B7280;
  --border-dark: #2A3744;
  --border-light: #E5E9ED;
  --font-heading: 'Sora', system-ui, -apple-system, sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration: 0.3s;
  --duration-enter: 0.5s;
  --container-max: 1200px;
  --section-py: 5rem;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-on-light-primary);
  background: var(--surface-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); }
input, textarea, select { font-family: var(--font-body); }
address { font-style: normal; }

.rplx-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.rplx-section {
  padding: var(--section-py) 0;
}

.rplx-section--deep { background: var(--surface-deep); }
.rplx-section--dark { background: var(--surface-dark); }
.rplx-section--mid { background: var(--surface-mid); }
.rplx-section--panel { background: var(--surface-panel); }
.rplx-section--light { background: var(--surface-light); }
.rplx-section--white { background: var(--surface-white); }
.rplx-section--green { background: var(--resolve-green); }

.rplx-section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--resolve-green);
  margin-bottom: 0.75rem;
  display: block;
}

.rplx-section-headline {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.rplx-section-headline--dark { color: var(--text-on-dark-primary); }
.rplx-section-headline--light { color: var(--text-on-light-primary); }

.rplx-section-sub {
  font-size: 1.125rem;
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 2rem;
}

.rplx-section-sub--dark { color: var(--text-on-dark-secondary); }
.rplx-section-sub--light { color: var(--text-on-light-secondary); }

.rplx-section-header--centered {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rplx-section-header--centered .rplx-section-sub {
  text-align: center;
}

.rplx-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background var(--duration) var(--ease-out),
              color var(--duration) var(--ease-out),
              border-color var(--duration) var(--ease-out);
  white-space: nowrap;
}

.rplx-btn--primary {
  background: var(--resolve-green);
  color: var(--surface-deep);
  border-color: var(--resolve-green);
}
.rplx-btn--primary:hover {
  background: var(--resolve-green-dim);
  border-color: var(--resolve-green-dim);
  color: var(--surface-deep);
}

.rplx-btn--outline-dark {
  background: transparent;
  color: var(--text-on-dark-primary);
  border-color: var(--border-dark);
}
.rplx-btn--outline-dark:hover {
  background: var(--surface-panel);
  color: var(--text-on-dark-primary);
}

.rplx-btn--ghost-dark {
  background: transparent;
  color: var(--text-on-dark-secondary);
  border-color: transparent;
}
.rplx-btn--ghost-dark:hover {
  color: var(--text-on-dark-primary);
}

.rplx-btn--ghost-light {
  background: transparent;
  color: var(--text-on-light-secondary);
  border-color: transparent;
}
.rplx-btn--ghost-light:hover {
  color: var(--text-on-light-primary);
}

.rplx-btn--dark-on-green {
  background: var(--surface-deep);
  color: var(--text-on-dark-primary);
  border-color: var(--surface-deep);
}
.rplx-btn--dark-on-green:hover {
  background: var(--surface-dark);
  border-color: var(--surface-dark);
  color: var(--text-on-dark-primary);
}

.rplx-btn--ghost-on-green {
  background: transparent;
  color: var(--surface-deep);
  border-color: var(--surface-deep);
}
.rplx-btn--ghost-on-green:hover {
  background: rgba(13,17,23,0.12);
  color: var(--surface-deep);
}

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

.rplx-btn--lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.rplx-btn-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.rplx-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 64px;
  display: flex;
  align-items: center;
  transition: background var(--duration) var(--ease-out),
              border-color var(--duration) var(--ease-out),
              box-shadow var(--duration) var(--ease-out);
  border-bottom: 1px solid transparent;
}

.rplx-page--dark-top .rplx-nav {
  background: transparent;
  border-bottom-color: transparent;
}

.rplx-page--dark-top .rplx-nav--scrolled {
  background: var(--surface-panel);
  border-bottom-color: var(--border-dark);
  box-shadow: 0 2px 16px rgba(0,0,0,0.4);
}

.rplx-page--light-top .rplx-nav {
  background: var(--surface-white);
  border-bottom-color: var(--border-light);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.rplx-nav__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.rplx-nav__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.rplx-nav__logo img {
  height: 28px;
  width: auto;
}

.rplx-nav__logo .logo-light { display: none; }
.rplx-nav__logo .logo-dark { display: block; }

.rplx-page--dark-top .rplx-nav__logo .logo-light { display: block; }
.rplx-page--dark-top .rplx-nav__logo .logo-dark { display: none; }
.rplx-page--light-top .rplx-nav__logo .logo-light { display: none; }
.rplx-page--light-top .rplx-nav__logo .logo-dark { display: block; }

.rplx-page--dark-top .rplx-nav--scrolled .rplx-nav__logo .logo-light { display: block !important; }
.rplx-page--dark-top .rplx-nav--scrolled .rplx-nav__logo .logo-dark { display: none !important; }

.rplx-nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.rplx-nav__link {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: 4px;
  transition: background var(--duration) var(--ease-out),
              color var(--duration) var(--ease-out);
  text-decoration: none;
}

.rplx-page--dark-top .rplx-nav__link {
  color: var(--text-on-dark-secondary);
}
.rplx-page--dark-top .rplx-nav__link:hover {
  color: var(--text-on-dark-primary);
  background: rgba(240,244,248,0.08);
}
.rplx-page--dark-top .rplx-nav--scrolled .rplx-nav__link {
  color: var(--text-on-dark-secondary);
}
.rplx-page--dark-top .rplx-nav--scrolled .rplx-nav__link:hover {
  color: var(--text-on-dark-primary);
  background: rgba(240,244,248,0.08);
}

.rplx-page--light-top .rplx-nav__link {
  color: var(--text-on-light-secondary);
}
.rplx-page--light-top .rplx-nav__link:hover {
  color: var(--text-on-light-primary);
  background: var(--surface-light);
}

.rplx-nav__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}

.rplx-nav__signin {
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  text-decoration: none;
  transition: color var(--duration) var(--ease-out),
              background var(--duration) var(--ease-out);
}

.rplx-page--dark-top .rplx-nav__signin {
  color: var(--text-on-dark-secondary);
}
.rplx-page--dark-top .rplx-nav__signin:hover {
  color: var(--text-on-dark-primary);
  background: rgba(240,244,248,0.08);
}
.rplx-page--dark-top .rplx-nav--scrolled .rplx-nav__signin {
  color: var(--text-on-dark-secondary);
}
.rplx-page--dark-top .rplx-nav--scrolled .rplx-nav__signin:hover {
  color: var(--text-on-dark-primary);
}

.rplx-page--light-top .rplx-nav__signin {
  color: var(--text-on-light-secondary);
}
.rplx-page--light-top .rplx-nav__signin:hover {
  color: var(--text-on-light-primary);
  background: var(--surface-light);
}

.rplx-nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  margin-left: auto;
}

.rplx-nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 1px;
  transition: transform var(--duration) var(--ease-out),
              opacity var(--duration) var(--ease-out),
              background var(--duration) var(--ease-out);
}

.rplx-page--dark-top .rplx-nav__hamburger span { background: var(--text-on-dark-secondary); }
.rplx-page--dark-top .rplx-nav--scrolled .rplx-nav__hamburger span { background: var(--text-on-dark-secondary); }
.rplx-page--light-top .rplx-nav__hamburger span { background: var(--text-on-light-secondary); }

.rplx-nav--open .rplx-nav__hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.rplx-nav--open .rplx-nav__hamburger span:nth-child(2) { opacity: 0; }
.rplx-nav--open .rplx-nav__hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.rplx-nav__mobile {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--surface-panel);
  border-bottom: 1px solid var(--border-dark);
  padding: 1rem 1.5rem;
  z-index: 999;
  flex-direction: column;
  gap: 0.25rem;
}

.rplx-nav--open .rplx-nav__mobile {
  display: flex;
}

.rplx-nav__mobile-link {
  display: block;
  padding: 0.75rem 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-on-dark-secondary);
  border-bottom: 1px solid var(--border-dark);
  text-decoration: none;
  transition: color var(--duration);
}
.rplx-nav__mobile-link:hover { color: var(--text-on-dark-primary); }
.rplx-nav__mobile-link:last-child { border-bottom: none; }

.rplx-nav__mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1rem;
  margin-top: 0.5rem;
}

.rplx-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--surface-deep);
  padding: 7rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.rplx-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-dark) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.35;
  pointer-events: none;
}

.rplx-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.rplx-hero__content {}

.rplx-hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--resolve-green);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rplx-hero__eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--resolve-green);
  flex-shrink: 0;
}

.rplx-hero__h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-on-dark-primary);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.rplx-hero__h1 em {
  font-style: normal;
  color: var(--resolve-green);
}

.rplx-hero__sub {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--text-on-dark-secondary);
  margin-bottom: 2.5rem;
  max-width: 520px;
}

.rplx-hero__visual {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.rplx-queue-mock {
  background: var(--surface-panel);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
  max-width: 520px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}

.rplx-queue-mock__header {
  background: var(--surface-dark);
  border-bottom: 1px solid var(--border-dark);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.rplx-queue-mock__dots {
  display: flex;
  gap: 5px;
}

.rplx-queue-mock__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.rplx-queue-mock__dot--red { background: #EF4444; }
.rplx-queue-mock__dot--amber { background: var(--sla-amber); }
.rplx-queue-mock__dot--green { background: var(--resolve-green); }

.rplx-queue-mock__title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-on-dark-muted);
  letter-spacing: 0.06em;
}

.rplx-queue-mock__stats {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rplx-queue-mock__stat {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--resolve-green);
  background: rgba(34,197,94,0.12);
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
}

.rplx-queue-mock__body {
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  min-height: 300px;
}

.rplx-ticket-row {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  background: var(--surface-mid);
  border: 1px solid var(--border-dark);
  border-radius: 6px;
  padding: 0.625rem 0.75rem;
  transition: border-color 0.4s ease, background 0.4s ease;
}

.rplx-ticket-row--resolved {
  border-color: rgba(34,197,94,0.3);
  background: rgba(34,197,94,0.07);
}

.rplx-ticket-row--resolving {
  border-color: rgba(34,197,94,0.15);
  animation: rplx-ticket-pulse 1.5s ease infinite;
}

@keyframes rplx-ticket-pulse {
  0%, 100% { border-color: rgba(34,197,94,0.15); }
  50% { border-color: rgba(34,197,94,0.35); }
}

.rplx-ticket-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.rplx-ticket-dot--amber { background: var(--sla-amber); }
.rplx-ticket-dot--gray { background: var(--text-on-dark-muted); }
.rplx-ticket-dot--green { background: var(--resolve-green); }
.rplx-ticket-dot--pulse {
  background: var(--resolve-green);
  animation: rplx-dot-pulse 1s ease infinite;
}

@keyframes rplx-dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.rplx-ticket-info {
  flex: 1;
  min-width: 0;
}

.rplx-ticket-id {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-on-dark-muted);
  display: block;
  margin-bottom: 0.125rem;
}

.rplx-ticket-subject {
  font-size: 0.8125rem;
  color: var(--text-on-dark-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  font-weight: 500;
}

.rplx-ticket-row--resolved .rplx-ticket-subject {
  color: var(--text-on-dark-muted);
}

.rplx-ticket-status {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 400;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
}

.rplx-ticket-status--resolved {
  background: rgba(34,197,94,0.15);
  color: var(--resolve-green);
}

.rplx-ticket-status--pending {
  background: rgba(75,97,117,0.3);
  color: var(--text-on-dark-muted);
}

.rplx-ticket-status--active {
  background: rgba(34,197,94,0.1);
  color: var(--resolve-green);
}

.rplx-ticket-time {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--resolve-green);
  flex-shrink: 0;
}

.rplx-queue-mock__rate {
  padding: 0.75rem;
  border-top: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rplx-queue-mock__rate-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-on-dark-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.rplx-queue-mock__rate-value {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: var(--resolve-green);
  font-weight: 400;
}

.rplx-rate-counter {
  display: inline-block;
}

.rplx-trust-bar {
  background: var(--surface-dark);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  padding: 2.5rem 0;
}

.rplx-trust-bar__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.rplx-trust-bar__item {}

.rplx-trust-bar__number {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--resolve-green);
  display: block;
  margin-bottom: 0.375rem;
  line-height: 1;
}

.rplx-trust-bar__label {
  font-size: 0.875rem;
  color: var(--text-on-dark-secondary);
  line-height: 1.4;
}

.rplx-how-preview {
  background: var(--surface-dark);
  padding: var(--section-py) 0;
}

.rplx-how-preview__header {
  text-align: center;
  margin-bottom: 3rem;
}

.rplx-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}

.rplx-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16.666% + 2rem);
  right: calc(16.666% + 2rem);
  height: 1px;
  background: linear-gradient(90deg, var(--resolve-green), var(--resolve-green));
  opacity: 0.3;
}

.rplx-step {
  padding: 0 2rem;
  position: relative;
  text-align: center;
}

.rplx-step__number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--resolve-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 1.125rem;
  color: var(--resolve-green);
  margin: 0 auto 1.25rem;
  background: var(--surface-dark);
  position: relative;
  z-index: 1;
}

.rplx-step__title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-on-dark-primary);
  margin-bottom: 0.75rem;
}

.rplx-step__desc {
  font-size: 0.9375rem;
  color: var(--text-on-dark-secondary);
  line-height: 1.65;
}

.rplx-step__icon {
  margin: 1rem auto 0;
}

.rplx-capability-grid {
  background: var(--surface-light);
  padding: var(--section-py) 0;
}

.rplx-capability-grid__header {
  margin-bottom: 2.5rem;
}

.rplx-cap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.rplx-cap-card {
  background: var(--surface-white);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--resolve-green);
  border-radius: 0 8px 8px 0;
  padding: 1.5rem;
  transition: border-color var(--duration), box-shadow var(--duration);
}

.rplx-cap-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.rplx-cap-card__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-on-light-primary);
  margin-bottom: 0.5rem;
}

.rplx-cap-card__desc {
  font-size: 0.9375rem;
  color: var(--text-on-light-secondary);
  line-height: 1.6;
}

.rplx-resolution-proof {
  background: var(--surface-mid);
  padding: var(--section-py) 0;
}

.rplx-resolution-proof__header {
  margin-bottom: 2.5rem;
}

.rplx-thread-mock {
  background: var(--surface-panel);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  overflow: hidden;
  max-width: 760px;
  margin: 0 auto;
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}

.rplx-thread-mock__header {
  background: var(--surface-dark);
  border-bottom: 1px solid var(--border-dark);
  padding: 0.875rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rplx-thread-mock__ticket-id {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-on-dark-muted);
}

.rplx-thread-mock__time-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--resolve-green);
  background: rgba(34,197,94,0.12);
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
}

.rplx-thread-mock__body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rplx-msg {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.rplx-msg--user { flex-direction: row; }
.rplx-msg--ai { flex-direction: row; }

.rplx-msg__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
}

.rplx-msg__avatar--user {
  background: var(--surface-mid);
  color: var(--text-on-dark-secondary);
  border: 1px solid var(--border-dark);
}

.rplx-msg__avatar--ai {
  background: rgba(34,197,94,0.15);
  color: var(--resolve-green);
  border: 1px solid rgba(34,197,94,0.25);
}

.rplx-msg__content { flex: 1; }

.rplx-msg__name {
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
  display: block;
}

.rplx-msg--user .rplx-msg__name { color: var(--text-on-dark-secondary); }
.rplx-msg--ai .rplx-msg__name { color: var(--resolve-green); }

.rplx-msg__bubble {
  background: var(--surface-mid);
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-on-dark-secondary);
}

.rplx-msg--ai .rplx-msg__bubble {
  border-color: rgba(34,197,94,0.2);
}

.rplx-msg__steps {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin-bottom: 0.75rem;
}

.rplx-msg__step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-on-dark-muted);
  background: var(--surface-dark);
  border: 1px solid var(--border-dark);
  border-radius: 4px;
  padding: 0.375rem 0.625rem;
}

.rplx-msg__step-icon {
  color: var(--resolve-green);
  font-size: 0.6875rem;
}

.rplx-integrations-preview {
  background: var(--surface-light);
  padding: var(--section-py) 0;
}

.rplx-integrations-preview__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.rplx-int-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.rplx-int-logo-tile {
  background: var(--surface-white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow var(--duration), border-color var(--duration);
  min-width: 120px;
}

.rplx-int-logo-tile:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border-color: var(--resolve-green);
}

.rplx-int-logo-tile__name {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-on-light-secondary);
}

.rplx-int-more {
  text-align: center;
  font-size: 0.9375rem;
  color: var(--text-on-light-muted);
}

.rplx-int-more a {
  color: var(--resolve-green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rplx-int-framing {
  text-align: center;
  font-size: 0.9375rem;
  color: var(--text-on-light-secondary);
  max-width: 620px;
  margin: 1.5rem auto 0;
  line-height: 1.65;
}

.rplx-testimonials {
  background: var(--surface-white);
  padding: var(--section-py) 0;
}

.rplx-testimonials__header {
  margin-bottom: 2.5rem;
  text-align: center;
}

.rplx-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.rplx-testimonial-card {
  background: var(--surface-light);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.rplx-testimonial-card__quote {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-on-light-secondary);
  flex: 1;
  font-style: italic;
}

.rplx-testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.rplx-letter-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--resolve-green);
  color: var(--surface-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
  font-family: var(--font-body);
}

.rplx-testimonial-card__name {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text-on-light-primary);
  display: block;
}

.rplx-testimonial-card__role {
  font-size: 0.8125rem;
  color: var(--text-on-light-muted);
  display: block;
}

.rplx-pricing-preview {
  background: var(--surface-panel);
  padding: var(--section-py) 0;
}

.rplx-pricing-preview__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.rplx-pricing-preview__content {}

.rplx-pricing-preview__headline {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text-on-dark-primary);
  margin-bottom: 1rem;
  line-height: 1.25;
}

.rplx-pricing-preview__desc {
  font-size: 1rem;
  color: var(--text-on-dark-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.rplx-price-highlight {
  background: var(--surface-mid);
  border: 1px solid var(--border-dark);
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
}

.rplx-price-highlight__tier {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-on-dark-muted);
  display: block;
  margin-bottom: 0.5rem;
}

.rplx-price-highlight__amount {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  color: var(--resolve-green);
  line-height: 1;
  display: block;
  margin-bottom: 0.375rem;
}

.rplx-price-highlight__sub {
  font-size: 0.875rem;
  color: var(--text-on-dark-secondary);
  display: block;
  margin-bottom: 1.25rem;
}

.rplx-cta-bottom {
  background: var(--resolve-green);
  padding: var(--section-py) 0;
}

.rplx-cta-bottom__inner {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.rplx-cta-bottom__headline {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--surface-deep);
  margin-bottom: 1rem;
  line-height: 1.15;
}

.rplx-cta-bottom__desc {
  font-size: 1.0625rem;
  color: rgba(13,17,23,0.75);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.rplx-footer {
  background: var(--surface-deep);
  border-top: 1px solid var(--border-dark);
  padding: 4rem 0 2rem;
}

.rplx-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.rplx-footer__brand {}

.rplx-footer__tagline {
  font-size: 0.9375rem;
  color: var(--text-on-dark-muted);
  margin-top: 0.875rem;
  line-height: 1.5;
  max-width: 260px;
}

.rplx-footer__col-heading {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-on-dark-primary);
  margin-bottom: 1.25rem;
  display: block;
}

.rplx-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.rplx-footer__links li {}

.rplx-footer__links a {
  font-size: 0.9375rem;
  color: var(--text-on-dark-muted);
  text-decoration: none;
  transition: color var(--duration);
}
.rplx-footer__links a:hover { color: var(--text-on-dark-secondary); }

.rplx-footer__bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
}

.rplx-footer__copyright {
  font-size: 0.875rem;
  color: var(--text-on-dark-muted);
}

.rplx-footer__bottom-tagline {
  font-size: 0.875rem;
  color: var(--text-on-dark-muted);
  font-style: italic;
}

.rplx-footer__address {
  font-size: 0.8125rem;
  color: var(--text-on-dark-muted);
  line-height: 1.5;
}

.rplx-footer__cookie-pref {
  font-size: 0.875rem;
  color: var(--text-on-dark-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  transition: color var(--duration);
}
.rplx-footer__cookie-pref:hover { color: var(--text-on-dark-secondary); }

.rplx-page-hero {
  padding: 9rem 0 5rem;
}

.rplx-page-hero--dark { background: var(--surface-deep); }
.rplx-page-hero--light { background: var(--surface-light); }
.rplx-page-hero--white { background: var(--surface-white); }

.rplx-page-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.rplx-page-hero__inner--full {
  grid-template-columns: 1fr;
  max-width: 780px;
}

.rplx-page-hero__content {}

.rplx-page-hero__h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.rplx-page-hero--dark .rplx-page-hero__h1 { color: var(--text-on-dark-primary); }
.rplx-page-hero--light .rplx-page-hero__h1 { color: var(--text-on-light-primary); }
.rplx-page-hero--white .rplx-page-hero__h1 { color: var(--text-on-light-primary); }

.rplx-page-hero__sub {
  font-size: 1.125rem;
  line-height: 1.7;
}

.rplx-page-hero--dark .rplx-page-hero__sub { color: var(--text-on-dark-secondary); }
.rplx-page-hero--light .rplx-page-hero__sub { color: var(--text-on-light-secondary); }
.rplx-page-hero--white .rplx-page-hero__sub { color: var(--text-on-light-secondary); }

.rplx-page-hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.rplx-ornament-svg {
  opacity: 0.6;
}

.rplx-arch-diagram {
  background: var(--surface-dark);
  padding: var(--section-py) 0;
}

.rplx-arch-diagram__header {
  text-align: center;
  margin-bottom: 3rem;
}

.rplx-arch-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  align-items: center;
  position: relative;
}

.rplx-arch-node {
  text-align: center;
  padding: 0 1rem;
  position: relative;
}

.rplx-arch-node:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 36px;
  right: -1px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--resolve-green), transparent);
  opacity: 0.4;
}

.rplx-arch-node__box {
  background: var(--surface-panel);
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
  transition: border-color var(--duration);
}

.rplx-arch-node__box--active {
  border-color: var(--resolve-green);
  background: rgba(34,197,94,0.07);
}

.rplx-arch-node__icon {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--resolve-green);
}

.rplx-arch-node__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-on-dark-primary);
  display: block;
}

.rplx-arch-node__sublabel {
  font-size: 0.75rem;
  color: var(--text-on-dark-muted);
  display: block;
  margin-top: 0.25rem;
}

.rplx-kb-section {
  background: var(--surface-light);
  padding: var(--section-py) 0;
}

.rplx-kb-section__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.rplx-kb-section__heading {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--text-on-light-primary);
  margin-bottom: 1rem;
  line-height: 1.25;
}

.rplx-kb-section__desc {
  font-size: 1rem;
  color: var(--text-on-light-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.rplx-source-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.rplx-source-list li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: var(--text-on-light-secondary);
}

.rplx-source-list li::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--resolve-green);
  flex-shrink: 0;
}

.rplx-kb-panel {
  background: var(--surface-white);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.rplx-kb-panel__row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.875rem;
}

.rplx-kb-panel__row:last-child { border-bottom: none; }

.rplx-kb-panel__status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.rplx-kb-panel__status--green { background: var(--resolve-green); }
.rplx-kb-panel__status--amber { background: var(--sla-amber); }

.rplx-kb-panel__name {
  flex: 1;
  color: var(--text-on-light-primary);
  font-weight: 500;
}

.rplx-kb-panel__articles {
  color: var(--text-on-light-muted);
  font-size: 0.8125rem;
  font-family: var(--font-mono);
}

.rplx-api-section {
  background: var(--surface-white);
  padding: var(--section-py) 0;
}

.rplx-api-section__heading {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--text-on-light-primary);
  margin-bottom: 1rem;
}

.rplx-api-section__desc {
  font-size: 1rem;
  color: var(--text-on-light-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 600px;
}

.rplx-action-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.rplx-action-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.875rem 1rem;
  background: var(--surface-light);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  font-size: 0.9375rem;
  color: var(--text-on-light-secondary);
}

.rplx-action-item__check {
  color: var(--resolve-green);
  font-size: 0.875rem;
  flex-shrink: 0;
}

.rplx-escalation-section {
  background: var(--surface-mid);
  padding: var(--section-py) 0;
}

.rplx-escalation-section__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.rplx-escalation-section__heading {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--text-on-dark-primary);
  margin-bottom: 1rem;
}

.rplx-escalation-section__desc {
  font-size: 1rem;
  color: var(--text-on-dark-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.rplx-escalation-rules {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.rplx-escalation-rule {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  background: var(--surface-panel);
  border: 1px solid var(--border-dark);
  border-radius: 6px;
}

.rplx-escalation-rule__icon {
  color: var(--sla-amber);
  font-size: 0.875rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.rplx-escalation-rule__text {
  font-size: 0.9375rem;
  color: var(--text-on-dark-secondary);
  line-height: 1.5;
}

.rplx-escalation-mock {
  background: var(--surface-panel);
  border: 1px solid var(--border-dark);
  border-radius: 10px;
  padding: 1.5rem;
}

.rplx-escalation-mock__label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-on-dark-muted);
  margin-bottom: 1rem;
  display: block;
}

.rplx-escalation-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245,158,11,0.12);
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: 4px;
  padding: 0.375rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--sla-amber);
  margin-bottom: 0.75rem;
}

.rplx-int-section {
  background: var(--surface-dark);
  padding: var(--section-py) 0;
}

.rplx-int-section--light {
  background: var(--surface-light);
}

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

.rplx-int-section__heading {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.rplx-int-section--dark .rplx-int-section__heading,
.rplx-int-section .rplx-int-section__heading {
  color: var(--text-on-dark-primary);
}

.rplx-int-section--light .rplx-int-section__heading,
.rplx-int-section--white .rplx-int-section__heading {
  color: var(--text-on-light-primary);
}

.rplx-int-section__desc {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 600px;
}

.rplx-int-section .rplx-int-section__desc { color: var(--text-on-dark-secondary); }
.rplx-int-section--light .rplx-int-section__desc,
.rplx-int-section--white .rplx-int-section__desc { color: var(--text-on-light-secondary); }

.rplx-int-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.rplx-int-card {
  border-radius: 8px;
  padding: 1.25rem;
  border: 1px solid;
}

.rplx-int-section .rplx-int-card {
  background: var(--surface-panel);
  border-color: var(--border-dark);
}

.rplx-int-section--light .rplx-int-card,
.rplx-int-section--white .rplx-int-card {
  background: var(--surface-white);
  border-color: var(--border-light);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.rplx-int-card__name {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.375rem;
}

.rplx-int-section .rplx-int-card__name { color: var(--text-on-dark-primary); }
.rplx-int-section--light .rplx-int-card__name,
.rplx-int-section--white .rplx-int-card__name { color: var(--text-on-light-primary); }

.rplx-int-card__type {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--resolve-green);
  background: rgba(34,197,94,0.1);
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.rplx-int-card__desc {
  font-size: 0.875rem;
  line-height: 1.55;
}

.rplx-int-section .rplx-int-card__desc { color: var(--text-on-dark-secondary); }
.rplx-int-section--light .rplx-int-card__desc,
.rplx-int-section--white .rplx-int-card__desc { color: var(--text-on-light-secondary); }

.rplx-pricing-tiers {
  background: var(--surface-light);
  padding: var(--section-py) 0;
}

.rplx-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.rplx-pricing-card {
  background: var(--surface-white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 2rem;
  position: relative;
}

.rplx-pricing-card--featured {
  border-color: var(--resolve-green);
  box-shadow: 0 0 0 1px var(--resolve-green), 0 8px 32px rgba(34,197,94,0.12);
}

.rplx-pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--resolve-green);
  color: var(--surface-deep);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.875rem;
  border-radius: 20px;
  white-space: nowrap;
}

.rplx-pricing-card__tier {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-on-light-primary);
  margin-bottom: 0.5rem;
}

.rplx-pricing-card__volume {
  font-size: 0.875rem;
  color: var(--text-on-light-muted);
  margin-bottom: 1.25rem;
}

.rplx-pricing-card__price {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.rplx-pricing-card__amount {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  color: var(--text-on-light-primary);
  font-weight: 400;
  line-height: 1;
}

.rplx-pricing-card--featured .rplx-pricing-card__amount { color: var(--resolve-green); }

.rplx-pricing-card__period {
  font-size: 0.875rem;
  color: var(--text-on-light-muted);
  display: block;
  margin-top: 0.375rem;
}

.rplx-pricing-card__overage {
  font-size: 0.8125rem;
  color: var(--text-on-light-muted);
  margin-top: 0.25rem;
  display: block;
  font-family: var(--font-mono);
}

.rplx-pricing-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.rplx-pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: var(--text-on-light-secondary);
  line-height: 1.4;
}

.rplx-pricing-card__features li::before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--resolve-green);
  flex-shrink: 0;
  margin-top: 0.125rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8l3.5 3.5L13 4' stroke='%230D1117' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.rplx-pricing-card__note {
  font-size: 0.8125rem;
  color: var(--text-on-light-muted);
  line-height: 1.5;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.rplx-faq {
  background: var(--surface-white);
  padding: var(--section-py) 0;
}

.rplx-faq__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.rplx-faq__list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.rplx-faq__item {
  border-bottom: 1px solid var(--border-light);
}

.rplx-faq__item:first-child {
  border-top: 1px solid var(--border-light);
}

.rplx-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-on-light-primary);
  transition: color var(--duration);
}

.rplx-faq__question:hover { color: var(--resolve-green); }

.rplx-faq__icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--duration) var(--ease-out),
              background var(--duration),
              border-color var(--duration);
  color: var(--text-on-light-muted);
  font-size: 0.75rem;
}

.rplx-faq__item--open .rplx-faq__icon {
  transform: rotate(45deg);
  background: var(--resolve-green);
  border-color: var(--resolve-green);
  color: var(--surface-deep);
}

.rplx-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}

.rplx-faq__item--open .rplx-faq__answer {
  max-height: 400px;
}

.rplx-faq__answer-inner {
  padding-bottom: 1.25rem;
  font-size: 0.9375rem;
  color: var(--text-on-light-secondary);
  line-height: 1.7;
}

.rplx-customers-stories {
  background: var(--surface-dark);
  padding: var(--section-py) 0;
}

.rplx-customer-story {
  background: var(--surface-panel);
  border: 1px solid var(--border-dark);
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.rplx-customer-story__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.rplx-customer-story__company {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-on-dark-primary);
}

.rplx-customer-story__descriptor {
  font-size: 0.875rem;
  color: var(--text-on-dark-muted);
  margin-top: 0.25rem;
}

.rplx-customer-story__metrics {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.rplx-customer-metric {
  text-align: center;
}

.rplx-customer-metric__value {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  color: var(--resolve-green);
  display: block;
  line-height: 1;
}

.rplx-customer-metric__label {
  font-size: 0.75rem;
  color: var(--text-on-dark-muted);
  margin-top: 0.25rem;
  display: block;
}

.rplx-customer-story__quote {
  font-size: 0.9375rem;
  color: var(--text-on-dark-secondary);
  line-height: 1.7;
  font-style: italic;
  padding-left: 1rem;
  border-left: 2px solid var(--resolve-green);
}

.rplx-metrics-band {
  background: var(--surface-light);
  padding: var(--section-py) 0;
}

.rplx-metrics-band__heading {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text-on-light-primary);
  text-align: center;
  margin-bottom: 2.5rem;
}

.rplx-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.rplx-metric-col {}

.rplx-metric-col__value {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  color: var(--resolve-green);
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.rplx-metric-col__label {
  font-size: 0.9375rem;
  color: var(--text-on-light-secondary);
}

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

.rplx-team-card {
  text-align: center;
}

.rplx-team-card__avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  object-fit: cover;
  object-position: top;
}

.rplx-team-card__photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  object-fit: cover;
  object-position: top;
  display: block;
  background: var(--surface-mid);
}

.rplx-team-card__avatar--letter {
  background: var(--surface-mid);
  border: 2px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--resolve-green);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 1rem;
}

.rplx-team-card__name {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-on-dark-primary);
  display: block;
  margin-bottom: 0.25rem;
}

.rplx-team-card__role {
  font-size: 0.875rem;
  color: var(--text-on-dark-muted);
  display: block;
  margin-bottom: 0.625rem;
}

.rplx-team-card__bio {
  font-size: 0.875rem;
  color: var(--text-on-dark-secondary);
  line-height: 1.6;
}

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

.rplx-value-item {}

.rplx-value-item__title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-on-light-primary);
  margin-bottom: 0.625rem;
}

.rplx-value-item__desc {
  font-size: 0.9375rem;
  color: var(--text-on-light-secondary);
  line-height: 1.7;
}

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

.rplx-security-card {
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid;
}

.rplx-security-section--dark .rplx-security-card {
  background: var(--surface-panel);
  border-color: var(--border-dark);
}

.rplx-security-section--light .rplx-security-card {
  background: var(--surface-white);
  border-color: var(--border-light);
}

.rplx-security-card__icon {
  font-size: 1.5rem;
  color: var(--resolve-green);
  margin-bottom: 0.75rem;
  display: block;
}

.rplx-security-card__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.rplx-security-section--dark .rplx-security-card__title { color: var(--text-on-dark-primary); }
.rplx-security-section--light .rplx-security-card__title { color: var(--text-on-light-primary); }

.rplx-security-card__desc {
  font-size: 0.9375rem;
  line-height: 1.6;
}

.rplx-security-section--dark .rplx-security-card__desc { color: var(--text-on-dark-secondary); }
.rplx-security-section--light .rplx-security-card__desc { color: var(--text-on-light-secondary); }

.rplx-security-section {
  padding: var(--section-py) 0;
}

.rplx-security-section--dark { background: var(--surface-dark); }
.rplx-security-section--light { background: var(--surface-light); }

.rplx-changelog-timeline {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}

.rplx-changelog-timeline::before {
  content: '';
  position: absolute;
  left: 80px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-dark);
}

.rplx-changelog-entry {
  display: flex;
  gap: 1.5rem;
  padding: 0 0 2rem;
  position: relative;
}

.rplx-changelog-entry__date {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-on-dark-muted);
  width: 70px;
  flex-shrink: 0;
  padding-top: 0.2rem;
  text-align: right;
  line-height: 1.4;
}

.rplx-changelog-entry__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--resolve-green);
  flex-shrink: 0;
  margin-top: 0.25rem;
  position: relative;
  z-index: 1;
}

.rplx-changelog-entry__content {
  flex: 1;
}

.rplx-changelog-entry__tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--resolve-green);
  background: rgba(34,197,94,0.1);
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.rplx-changelog-entry__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-on-dark-primary);
  margin-bottom: 0.375rem;
}

.rplx-changelog-entry__desc {
  font-size: 0.9375rem;
  color: var(--text-on-dark-secondary);
  line-height: 1.6;
}

.rplx-career-roles {
  background: var(--surface-white);
  padding: var(--section-py) 0;
}

.rplx-role-card {
  background: var(--surface-light);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.rplx-role-card:last-child { margin-bottom: 0; }

.rplx-role-card__info {}

.rplx-role-card__title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-on-light-primary);
  margin-bottom: 0.375rem;
}

.rplx-role-card__meta {
  font-size: 0.875rem;
  color: var(--text-on-light-muted);
  margin-bottom: 0.625rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.rplx-role-card__desc {
  font-size: 0.9375rem;
  color: var(--text-on-light-secondary);
  line-height: 1.6;
}

.rplx-contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.rplx-contact-form {}

.rplx-form-group {
  margin-bottom: 1.25rem;
}

.rplx-form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-on-light-primary);
  margin-bottom: 0.5rem;
}

.rplx-form-input,
.rplx-form-textarea,
.rplx-form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--surface-white);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  font-size: 0.9375rem;
  color: var(--text-on-light-primary);
  transition: border-color var(--duration);
  outline: none;
  font-family: var(--font-body);
}

.rplx-form-input:focus,
.rplx-form-textarea:focus,
.rplx-form-select:focus {
  border-color: var(--resolve-green);
  box-shadow: 0 0 0 3px rgba(34,197,94,0.12);
}

.rplx-form-input::placeholder,
.rplx-form-textarea::placeholder {
  color: var(--text-on-light-muted);
}

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

.rplx-contact-info {}

.rplx-contact-info__heading {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-on-light-primary);
  margin-bottom: 1.5rem;
}

.rplx-contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  margin-bottom: 1.25rem;
}

.rplx-contact-detail__icon {
  color: var(--resolve-green);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.rplx-contact-detail__value {
  font-size: 0.9375rem;
  color: var(--text-on-light-secondary);
  line-height: 1.6;
}

.rplx-contact-detail__value a {
  color: var(--resolve-green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rplx-blog-hero {
  background: var(--surface-light);
  padding: 7rem 0 3rem;
}

.rplx-blog-hero__h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-on-light-primary);
  margin-bottom: 0.75rem;
}

.rplx-blog-hero__sub {
  font-size: 1.125rem;
  color: var(--text-on-light-secondary);
  max-width: 520px;
}

.rplx-blog-grid-section {
  background: var(--surface-white);
  padding: var(--section-py) 0;
}

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

.rplx-blog-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow var(--duration), border-color var(--duration);
}

.rplx-blog-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  border-color: var(--resolve-green);
}

.rplx-blog-card__cover-wrap {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--surface-panel);
}

.rplx-blog-card__cover {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--ease-out);
}

.rplx-blog-card:hover .rplx-blog-card__cover {
  transform: scale(1.03);
}

.rplx-blog-card__body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.rplx-blog-card__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.625rem;
}

.rplx-blog-card__date {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-on-light-muted);
}

.rplx-blog-card__read-time {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-on-light-muted);
}

.rplx-blog-card__meta-sep {
  font-size: 0.6875rem;
  color: var(--border-light);
}

.rplx-blog-card__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-on-light-primary);
  margin-bottom: 0.625rem;
  line-height: 1.35;
  flex: 1;
}

.rplx-blog-card__excerpt {
  font-size: 0.875rem;
  color: var(--text-on-light-secondary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rplx-article-hero {
  background: var(--surface-light);
  padding: 7rem 0 3rem;
}

.rplx-article-hero__container {
  max-width: 860px;
  margin: 0 auto;
}

.rplx-article-hero__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.rplx-article-hero__date {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-on-light-muted);
}

.rplx-article-hero__author {
  font-size: 0.8125rem;
  color: var(--text-on-light-muted);
}

.rplx-article-hero__tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--resolve-green);
  background: rgba(34,197,94,0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
}

.rplx-article-hero__h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--text-on-light-primary);
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.rplx-article-hero__cover {
  max-width: 860px;
  margin: 2rem auto 0;
  border-radius: 10px;
  overflow: hidden;
}

.rplx-article-hero__cover img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.rplx-article-body-section {
  background: var(--surface-white);
  padding: 3rem 0 5rem;
}

.rplx-article-body {
  max-width: 720px;
  margin: 0 auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}

.rplx-article-body h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-on-light-primary);
  margin-top: 2.5rem;
  margin-bottom: 0.875rem;
}

.rplx-article-body h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-on-light-primary);
  margin-top: 2rem;
  margin-bottom: 0.625rem;
}

.rplx-article-body p {
  font-size: 1rem;
  color: var(--text-on-light-secondary);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.rplx-article-body ul,
.rplx-article-body ol {
  padding-left: 1.75rem;
  margin-bottom: 1.25rem;
  list-style: disc;
}

.rplx-article-body ol { list-style: decimal; }

.rplx-article-body li {
  font-size: 1rem;
  color: var(--text-on-light-secondary);
  line-height: 1.7;
  margin-bottom: 0.375rem;
}

.rplx-article-body blockquote {
  border-left: 3px solid var(--resolve-green);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--text-on-light-muted);
}

.rplx-article-body code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  background: var(--surface-light);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  padding: 0.125em 0.375em;
  color: var(--text-on-light-primary);
}

.rplx-article-body pre {
  background: var(--surface-dark);
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  padding: 1.25rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}

.rplx-article-body pre code {
  background: transparent;
  border: none;
  padding: 0;
  color: var(--text-on-dark-secondary);
}

.rplx-docs-content {
  padding: var(--section-py) 0;
}

.rplx-page--dark-top .rplx-docs-content {
  background: var(--surface-dark);
  color: var(--text-on-dark-secondary);
}

.rplx-page--light-top .rplx-docs-content {
  background: var(--surface-white);
  color: var(--text-on-light-secondary);
}

.rplx-legal-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 3rem;
  align-items: start;
}

.rplx-legal-toc {
  position: sticky;
  top: 80px;
}

.rplx-legal-toc__heading {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--text-on-light-muted);
  margin-bottom: 0.75rem;
}

.rplx-legal-toc__list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.rplx-legal-toc__list a {
  font-size: 0.875rem;
  color: var(--text-on-light-muted);
  text-decoration: none;
  transition: color var(--duration);
  display: block;
  padding: 0.25rem 0;
}

.rplx-legal-toc__list a:hover { color: var(--resolve-green); }

.rplx-legal-content {
  min-width: 0;
}

.legal-article {
  color: var(--text-on-light-secondary);
  line-height: 1.8;
}

.legal-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.legal-header h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--text-on-light-primary);
  margin-bottom: 0.5rem;
}

.legal-meta {
  font-size: 0.875rem;
  color: var(--text-on-light-muted);
  display: block;
  margin-top: 0.25rem;
}

.legal-article section {
  margin-bottom: 2.5rem;
}

.legal-article h2 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-on-light-primary);
  margin-bottom: 0.875rem;
  margin-top: 0;
}

.legal-article h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-on-light-primary);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.legal-article p {
  font-size: 0.9375rem;
  color: var(--text-on-light-secondary);
  line-height: 1.75;
  margin-bottom: 0.875rem;
}

.legal-article ul, .legal-article ol {
  padding-left: 1.5rem;
  margin-bottom: 0.875rem;
  list-style: disc;
}

.legal-article ol { list-style: decimal; }

.legal-article li {
  font-size: 0.9375rem;
  color: var(--text-on-light-secondary);
  line-height: 1.7;
  margin-bottom: 0.375rem;
}

.legal-article address {
  font-style: normal;
  font-size: 0.9375rem;
  color: var(--text-on-light-secondary);
  line-height: 1.7;
}

.legal-article a {
  color: var(--resolve-green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.9375rem;
}

.legal-table th,
.legal-table td {
  text-align: left;
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--border-light);
  color: var(--text-on-light-secondary);
}

.legal-table th {
  background: var(--surface-light);
  font-weight: 600;
  color: var(--text-on-light-primary);
}

.rplx-legal-section {
  background: var(--surface-white);
  padding: var(--section-py) 0;
}

.rplx-legal-hero {
  background: var(--surface-light);
  padding: 7rem 0 2.5rem;
}

.rplx-legal-hero__h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--text-on-light-primary);
  margin-bottom: 0.5rem;
}

.rplx-legal-hero__meta {
  font-size: 0.875rem;
  color: var(--text-on-light-muted);
}

.rplx-auth-page {
  min-height: 100vh;
  background: var(--surface-light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
}

.rplx-auth-card {
  background: var(--surface-white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 2.5rem;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.rplx-auth-card__logo {
  display: block;
  margin: 0 auto 2rem;
  text-align: center;
}

.rplx-auth-card__logo img {
  height: 28px;
  width: auto;
  margin: 0 auto;
}

.rplx-auth-card__heading {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-on-light-primary);
  text-align: center;
  margin-bottom: 0.5rem;
}

.rplx-auth-card__sub {
  font-size: 0.9375rem;
  color: var(--text-on-light-muted);
  text-align: center;
  margin-bottom: 2rem;
}

.rplx-auth-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rplx-auth-input-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.rplx-auth-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-on-light-primary);
}

.rplx-auth-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  font-size: 0.9375rem;
  color: var(--text-on-light-primary);
  background: var(--surface-white);
  transition: border-color var(--duration);
  outline: none;
  font-family: var(--font-body);
}

.rplx-auth-input:focus {
  border-color: var(--resolve-green);
  box-shadow: 0 0 0 3px rgba(34,197,94,0.1);
}

.rplx-auth-input::placeholder { color: var(--text-on-light-muted); }

.rplx-auth-submit {
  width: 100%;
  padding: 0.875rem;
  background: var(--resolve-green);
  color: var(--surface-deep);
  border: none;
  border-radius: 6px;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--duration);
  font-family: var(--font-body);
  margin-top: 0.5rem;
}

.rplx-auth-submit:hover { background: var(--resolve-green-dim); }

.rplx-auth-links {
  margin-top: 1.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.rplx-auth-links a {
  font-size: 0.875rem;
  color: var(--text-on-light-muted);
  text-decoration: none;
  transition: color var(--duration);
}

.rplx-auth-links a:hover { color: var(--resolve-green); }

.rplx-auth-legal {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-on-light-muted);
  line-height: 1.5;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
}

.rplx-auth-legal a {
  color: var(--text-on-light-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.rplx-auth-legal a:hover { color: var(--resolve-green); }

.rplx-404-page {
  min-height: 100vh;
  background: var(--surface-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.rplx-404-page__inner {
  padding: 2rem;
}

.rplx-404-page__code {
  font-family: var(--font-mono);
  font-size: 5rem;
  color: var(--resolve-green);
  line-height: 1;
  display: block;
  margin-bottom: 1rem;
}

.rplx-404-page__heading {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-on-dark-primary);
  margin-bottom: 0.75rem;
}

.rplx-404-page__desc {
  font-size: 1rem;
  color: var(--text-on-dark-secondary);
  margin-bottom: 2rem;
}

.rplx-section-cta {
  padding: var(--section-py) 0;
  text-align: center;
}

.rplx-section-cta--dark { background: var(--surface-dark); }
.rplx-section-cta--panel { background: var(--surface-panel); }

.rplx-section-cta__heading {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 0.875rem;
}

.rplx-section-cta--dark .rplx-section-cta__heading,
.rplx-section-cta--panel .rplx-section-cta__heading {
  color: var(--text-on-dark-primary);
}

.rplx-section-cta__desc {
  font-size: 1rem;
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto 2rem;
}

.rplx-section-cta--dark .rplx-section-cta__desc,
.rplx-section-cta--panel .rplx-section-cta__desc {
  color: var(--text-on-dark-secondary);
}

.rplx-about-contact {
  background: var(--surface-white);
  padding: var(--section-py) 0;
}

.rplx-about-contact__heading {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-on-light-primary);
  margin-bottom: 1.5rem;
}

.rplx-about-contact__detail {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.rplx-about-contact__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--text-on-light-secondary);
}

.rplx-about-contact__item i {
  color: var(--resolve-green);
  width: 16px;
}

.rplx-about-contact__item a {
  color: var(--resolve-green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--surface-panel);
  border-top: 1px solid var(--border-dark);
  padding: 0.875rem 0;
}

.cookie-banner__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-banner__text {
  flex: 1;
  font-size: 0.875rem;
  color: var(--text-on-dark-secondary);
  line-height: 1.5;
  min-width: 200px;
}

.cookie-banner__text a {
  color: var(--resolve-green);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__actions {
  flex-shrink: 0;
}

.cookie-banner__btn {
  padding: 0.5rem 1.25rem;
  border-radius: 5px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--duration), color var(--duration);
  font-family: var(--font-body);
}

.cookie-banner__btn--primary {
  background: var(--resolve-green);
  color: var(--surface-deep);
  border: 2px solid var(--resolve-green);
}

.cookie-banner__btn--primary:hover {
  background: var(--resolve-green-dim);
  border-color: var(--resolve-green-dim);
  color: var(--surface-deep);
}

.rplx-fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--duration-enter) var(--ease-out),
              transform var(--duration-enter) var(--ease-out);
}

.rplx-fade-in--visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .rplx-hero__inner { gap: 2rem; }
  .rplx-arch-flow { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .rplx-arch-node:not(:last-child)::after { display: none; }
  .rplx-footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  :root { --section-py: 3.5rem; }

  .rplx-nav__links { display: none; }
  .rplx-nav__actions .rplx-btn { display: none; }
  .rplx-nav__actions .rplx-nav__signin { display: none; }
  .rplx-nav__hamburger { display: flex; }

  .rplx-hero {
    min-height: auto;
    padding: 6rem 0 3rem;
  }

  .rplx-hero__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .rplx-hero__h1 { font-size: clamp(2rem, 8vw, 3rem); }
  .rplx-hero__visual { order: -1; }
  .rplx-queue-mock { max-width: 100%; }

  .rplx-trust-bar__grid { grid-template-columns: 1fr; gap: 1.5rem; }

  .rplx-steps { grid-template-columns: 1fr; }
  .rplx-steps::before { display: none; }

  .rplx-cap-grid { grid-template-columns: 1fr; }
  .rplx-testimonial-grid { grid-template-columns: 1fr; }
  .rplx-pricing-grid { grid-template-columns: 1fr; }
  .rplx-pricing-preview__inner { grid-template-columns: 1fr; }

  .rplx-page-hero__inner { grid-template-columns: 1fr; }
  .rplx-page-hero { padding: 7rem 0 3rem; }

  .rplx-int-card-grid { grid-template-columns: 1fr; }
  .rplx-arch-flow { grid-template-columns: 1fr; }

  .rplx-kb-section__layout { grid-template-columns: 1fr; gap: 2rem; }
  .rplx-escalation-section__layout { grid-template-columns: 1fr; gap: 2rem; }
  .rplx-action-list { grid-template-columns: 1fr; }

  .rplx-team-grid { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
  .rplx-values-grid { grid-template-columns: 1fr; }

  .rplx-blog-grid { grid-template-columns: 1fr; }
  .rplx-metrics-grid { grid-template-columns: 1fr; gap: 1.5rem; }

  .rplx-legal-layout { grid-template-columns: 1fr; }
  .rplx-legal-toc { display: none; }

  .rplx-footer__grid { grid-template-columns: 1fr 1fr; }
  .rplx-footer__bottom { flex-direction: column; align-items: flex-start; }

  .rplx-contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .rplx-security-grid { grid-template-columns: 1fr; }

  .rplx-changelog-timeline::before { display: none; }
  .rplx-changelog-entry { flex-direction: column; gap: 0.5rem; }
  .rplx-changelog-entry__date { width: auto; text-align: left; }

  .cookie-banner__inner { flex-direction: column; align-items: flex-start; gap: 0.75rem; }

  .rplx-role-card { flex-direction: column; }
}

@media (max-width: 480px) {
  .rplx-footer__grid { grid-template-columns: 1fr; }
  .rplx-int-logos { gap: 0.75rem; }
  .rplx-int-logo-tile { min-width: auto; }
  .rplx-auth-card { padding: 1.75rem 1.25rem; }
  .rplx-customer-story__header { flex-direction: column; }
}

.rplx-coming-soon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.rplx-coming-soon-item {
  background: var(--surface-white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
}

.rplx-coming-soon-item__name {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text-on-light-primary);
  display: block;
  margin-bottom: 0.25rem;
}

.rplx-coming-soon-item__tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-on-light-muted);
}

@media (max-width: 768px) {
  .rplx-coming-soon-grid { grid-template-columns: repeat(2, 1fr); }
}

.rplx-cust-hero-ornament {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rplx-pricecta {
  background: var(--surface-panel);
  padding: var(--section-py) 0;
}

.rplx-pricecta__inner {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.rplx-pricecta__heading {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text-on-dark-primary);
  margin-bottom: 0.875rem;
}

.rplx-pricecta__desc {
  font-size: 1rem;
  color: var(--text-on-dark-secondary);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
