:root {
  --rr-bg: #0b1220;
  --rr-panel: rgba(255, 255, 255, 0.92);
  --rr-panel-solid: #ffffff;
  --rr-text: #0f172a;
  --rr-muted: rgba(15, 23, 42, 0.70);
  --rr-border: rgba(15, 23, 42, 0.12);
  --rr-accent: #1d9bf0;
  --rr-accent-2: #ff4d00;
  --rr-shadow: 0 14px 40px rgba(2, 8, 23, 0.18);
  --rr-radius: 14px;
}

html, body {
  height: 100%;
}

body {
  font-family: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--rr-text);
  background:
    radial-gradient(900px 600px at 12% 12%, rgba(29, 155, 240, 0.18), transparent 60%),
    radial-gradient(900px 500px at 85% 18%, rgba(255, 77, 0, 0.12), transparent 55%),
    radial-gradient(1200px 800px at 60% 100%, rgba(29, 155, 240, 0.10), transparent 60%),
    #fbfdff;
}

.rr-container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.rr-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  background: rgba(251, 253, 255, 0.72);
  border-bottom: 1px solid var(--rr-border);
}

.rr-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.rr-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--rr-text);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.rr-logo__emoji {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(29,155,240,0.16), rgba(255,77,0,0.10));
  border: 1px solid var(--rr-border);
}

.rr-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.rr-nav__right {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.rr-nav__link {
  color: rgba(15, 23, 42, 0.82);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: 10px;
}

.rr-nav__link:hover {
  background: rgba(15, 23, 42, 0.06);
  color: rgba(15, 23, 42, 0.92);
}

.rr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  border-radius: 12px;
  border: 1px solid var(--rr-border);
  text-decoration: none;
  font-weight: 600;
  line-height: 1;
}

.rr-btn--primary {
  background: linear-gradient(135deg, var(--rr-accent), #66bdf7);
  border-color: rgba(29, 155, 240, 0.35);
  color: #06223a;
}

.rr-btn--primary:hover {
  filter: brightness(0.98);
}

.rr-btn--ghost {
  background: rgba(255, 255, 255, 0.7);
  color: rgba(15, 23, 42, 0.9);
}

.rr-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.92);
}

.rr-inline {
  display: inline;
}

.rr-main {
  padding: 28px 0 56px;
}

.rr-footer {
  border-top: 1px solid var(--rr-border);
  background: rgba(251, 253, 255, 0.72);
}

.rr-footer__inner {
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.rr-footer__brand {
  font-weight: 600;
}

.rr-footer__muted {
  margin-left: 10px;
  color: var(--rr-muted);
}

.rr-footer__link {
  color: var(--rr-muted);
  text-decoration: none;
}

.rr-footer__link:hover {
  color: rgba(15, 23, 42, 0.9);
}

/* Landing */
.rr-hero {
  padding: 22px 0 0;
}

.rr-hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: start;
}

.rr-hero__stack {
  display: grid;
  gap: 18px;
  align-items: start;
}

.rr-card.rr-card--hero {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.86);
  z-index: 0;
}

.rr-card.rr-card--hero::before {
  content: "";
  position: absolute;
  inset: -1px;
  background:
    radial-gradient(800px 420px at 10% 10%, rgba(29, 155, 240, 0.18), transparent 55%),
    radial-gradient(700px 420px at 85% 22%, rgba(255, 77, 0, 0.12), transparent 60%);
  z-index: 0;
  pointer-events: none;
}

.rr-card__pad.rr-hero__pad {
  position: relative;
  padding: 26px;
  z-index: 1;
}

.rr-hero__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.rr-hero__fineprint {
  margin-top: 12px;
}

.rr-h2 {
  font-size: 22px;
  letter-spacing: -0.03em;
  margin: 0 0 6px;
  font-weight: 600;
}

.rr-h3 {
  font-size: 18px;
  letter-spacing: -0.02em;
  margin: 8px 0 8px;
  font-weight: 700;
}

.rr-home-section {
  scroll-margin-top: 86px;
}

.rr-home-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.rr-home-tweetbox {
  margin-top: 14px;
}

.rr-home-final {
  margin-bottom: 10px;
}

.rr-home-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.rr-home-cta__actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.rr-card {
  background: var(--rr-panel);
  border: 1px solid var(--rr-border);
  border-radius: var(--rr-radius);
  box-shadow: var(--rr-shadow);
}

.rr-card--soft {
  box-shadow: none;
  background: rgba(255, 255, 255, 0.70);
}

.rr-card__pad {
  padding: 22px;
}

.rr-kicker {
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.64);
}

.rr-h1 {
  margin: 10px 0 10px;
  font-weight: 600;
  letter-spacing: -0.04em;
  font-size: 40px;
  line-height: 1.08;
}

.rr-lede {
  color: var(--rr-muted);
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
}

.rr-cta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.rr-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--rr-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  color: rgba(15, 23, 42, 0.86);
  font-weight: 600;
}

.rr-pill small {
  font-weight: 500;
  color: var(--rr-muted);
}

.rr-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.rr-step {
  border: 1px solid var(--rr-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  padding: 12px;
}

.rr-step__title {
  font-weight: 600;
  margin: 0 0 6px;
}

.rr-step__text {
  margin: 0;
  color: var(--rr-muted);
  font-size: 14px;
  line-height: 1.45;
}

.rr-code {
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  background: rgba(15, 23, 42, 0.94);
  color: rgba(255, 255, 255, 0.92);
  border-radius: 12px;
  padding: 14px;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.rr-code__muted {
  color: rgba(255, 255, 255, 0.65);
}

.rr-section {
  margin-top: 22px;
}

/* Onboarding/app surface */
.rr-page-title {
  font-size: 28px;
  letter-spacing: -0.03em;
  margin: 0 0 6px;
  font-weight: 600;
}

.rr-page-subtitle {
  margin: 0;
  color: var(--rr-muted);
}

.rr-surface {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 14px;
  align-items: start;
}

.rr-sidenav {
  background: rgba(255, 255, 255, 0.70);
  border: 1px solid var(--rr-border);
  border-radius: var(--rr-radius);
  padding: 14px;
}

.rr-sidenav__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 10px;
  border-radius: 12px;
  text-decoration: none;
  color: rgba(15, 23, 42, 0.84);
  border: 1px solid transparent;
}

.rr-sidenav__item:hover {
  background: rgba(15, 23, 42, 0.06);
}

.rr-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--rr-border);
  color: rgba(15, 23, 42, 0.75);
  background: rgba(255, 255, 255, 0.75);
}

.rr-badge--ok {
  border-color: rgba(16, 185, 129, 0.28);
  background: rgba(16, 185, 129, 0.12);
  color: rgba(5, 150, 105, 0.95);
}

.rr-badge--warn {
  border-color: rgba(245, 158, 11, 0.30);
  background: rgba(245, 158, 11, 0.12);
  color: rgba(180, 83, 9, 0.95);
}

.rr-badge--bad {
  border-color: rgba(239, 68, 68, 0.28);
  background: rgba(239, 68, 68, 0.12);
  color: rgba(185, 28, 28, 0.95);
}

.rr-link {
  color: var(--rr-accent);
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
}

.rr-link:hover {
  text-decoration: underline;
}

.rr-tweetbox {
  border: 1px solid var(--rr-border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(2, 8, 23, 0.10);
}

.rr-tweet {
  display: flex;
  gap: 12px;
  padding: 14px;
}

.rr-tweet + .rr-tweet {
  border-top: 1px solid var(--rr-border);
}

.rr-tweet--reply {
  background: rgba(255, 255, 255, 0.86);
}

.rr-tweet__avatar {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: rgba(15, 23, 42, 0.82);
  background: rgba(15, 23, 42, 0.06);
  border: 1px solid var(--rr-border);
  flex: 0 0 auto;
}

.rr-tweet__avatar--brand {
  background: linear-gradient(135deg, rgba(29,155,240,0.22), rgba(255,77,0,0.14));
}

.rr-tweet__body {
  min-width: 0;
  flex: 1 1 auto;
}

.rr-tweet__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(15, 23, 42, 0.70);
}

.rr-tweet__name {
  font-weight: 800;
  letter-spacing: -0.01em;
  color: rgba(15, 23, 42, 0.92);
}

.rr-tweet__handle {
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  color: rgba(15, 23, 42, 0.62);
}

.rr-tweet__dot {
  opacity: 0.7;
}

.rr-tweet__time {
  color: rgba(15, 23, 42, 0.62);
}

.rr-tweet__text {
  margin-top: 6px;
  white-space: pre-wrap;
  word-break: break-word;
  color: rgba(15, 23, 42, 0.90);
  line-height: 1.45;
}

.rr-tweet__footer {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.rr-form-row {
  margin-top: 12px;
}

.rr-help {
  color: var(--rr-muted);
  font-size: 13px;
  line-height: 1.45;
}

.rr-divider {
  height: 1px;
  background: var(--rr-border);
  margin: 14px 0;
}

.rr-alert {
  border: 1px solid var(--rr-border);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.75);
  color: rgba(15, 23, 42, 0.92);
}

.rr-alert--bad {
  border-color: rgba(239, 68, 68, 0.28);
  background: rgba(239, 68, 68, 0.10);
  color: rgba(185, 28, 28, 0.95);
}

.rr-kbd {
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 8px;
  border: 1px solid var(--rr-border);
  background: rgba(255, 255, 255, 0.75);
}

/* Auth pages */
.rr-authwrap {
  width: min(560px, 100%);
  margin: 0 auto;
}

.rr-providerlist {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.rr-btn--provider {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 15px;
}

.rr-providerhint {
  margin-top: 12px;
  text-align: center;
}

@media (max-width: 920px) {
  .rr-hero__grid {
    grid-template-columns: 1fr;
  }
  .rr-home-grid {
    grid-template-columns: 1fr;
  }
  .rr-surface {
    grid-template-columns: 1fr;
  }
  .rr-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .rr-h1 {
    font-size: 34px;
  }
  .rr-card__pad.rr-hero__pad {
    padding: 20px;
  }
}
