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

:root {
  --rb-bg: #050815;
  --rb-bg-alt: #101829;
  --rb-blue: #2dd1ff;
  --rb-pink: #ff4b9a;
  --rb-purple: #9b5bff;
  --rb-orange: #ff9440;
  --rb-text-main: #f5f7ff;
  --rb-text-muted: rgba(226, 231, 255, 0.82);
  --rb-radius-lg: 30px;
  --rb-radius-md: 20px;
  --rb-radius-pill: 999px;
  --rb-shadow-strong: 0 26px 80px rgba(0, 0, 0, 0.85);
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, system-ui, -system-ui, sans-serif;
  background:
    radial-gradient(circle at 15% 0%, rgba(255, 111, 185, 0.35) 0, transparent 45%),
    radial-gradient(circle at 85% 110%, rgba(45, 209, 255, 0.35) 0, transparent 50%),
    radial-gradient(circle at 10% 130%, rgba(255, 148, 64, 0.3) 0, transparent 55%),
    linear-gradient(160deg, #050815, #050814);
  color: var(--rb-text-main);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

.rb-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
}

.rb-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(3, 8, 25, 0.96), rgba(3, 8, 25, 0.55));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.rb-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rb-brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 18px;
  padding: 3px;
  background:
    radial-gradient(circle at 10% 0%, #ffffff 0, #ffcf65 22%, transparent 55%),
    linear-gradient(135deg, #ff4b9a, #ff9440, #2dd1ff, #9b5bff);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
}

.rb-brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 16px;
}

.rb-brand-copy {
  display: flex;
  flex-direction: column;
}

.rb-brand-name {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.rb-brand-sub {
  font-size: 0.78rem;
  color: var(--rb-text-muted);
}

.rb-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.9rem;
}

.rb-nav a {
  padding: 6px 12px;
  border-radius: var(--rb-radius-pill);
  border: 1px solid transparent;
  color: var(--rb-text-muted);
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.rb-nav a:hover {
  color: var(--rb-text-main);
  background: rgba(45, 209, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.16);
}

main {
  padding: 30px 0 40px;
}

.rb-section {
  padding: 20px 0;
}

.rb-hero {
  padding-top: 28px;
}

.rb-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 30px;
  align-items: stretch;
}

.rb-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--rb-radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(5, 12, 30, 0.9);
  font-size: 0.8rem;
  color: var(--rb-text-muted);
  margin: 0 0 10px;
}

.rb-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2.1rem, 3vw, 2.7rem);
  line-height: 1.15;
}

.rb-lead {
  margin: 0 0 16px;
  font-size: 0.98rem;
  color: var(--rb-text-muted);
  max-width: 38rem;
  line-height: 1.7;
}

.rb-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.rb-pill {
  padding: 7px 14px;
  border-radius: var(--rb-radius-pill);
  background: rgba(10, 25, 65, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.84rem;
  color: var(--rb-text-muted);
}

.rb-hero-panel {
  display: flex;
  align-items: center;
  justify-content: center;
}

.rb-card {
  width: 100%;
  max-width: 360px;
  border-radius: var(--rb-radius-lg);
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 255, 255, 0.26) 0, transparent 45%),
    linear-gradient(145deg, #12172a, #050815);
  box-shadow: var(--rb-shadow-strong);
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.rb-race-head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.rb-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}

.rb-dot-red { background: #ff4b6a; }
.rb-dot-orange { background: #ff9440; }
.rb-dot-cyan { background: #2dd1ff; }

.rb-race-label {
  margin-left: auto;
  font-size: 0.82rem;
  color: var(--rb-text-muted);
}

.rb-race-body {
  padding: 12px 16px 14px;
}

.rb-race-list {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
}

.rb-race-list li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 0.9rem;
}

.rb-race-ball {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ff4b9a;
  box-shadow: 0 0 0 4px rgba(255, 75, 154, 0.26);
}

.rb-race-ball--pink {
  background: #ff4b9a;
  box-shadow: 0 0 0 4px rgba(255, 75, 154, 0.32);
}

.rb-race-ball--orange {
  background: #ff9440;
  box-shadow: 0 0 0 4px rgba(255, 148, 64, 0.32);
}

.rb-race-ball--cyan {
  background: #2dd1ff;
  box-shadow: 0 0 0 4px rgba(45, 209, 255, 0.3);
}

.rb-race-name {
  color: var(--rb-text-main);
}

.rb-race-pos {
  font-size: 0.82rem;
  padding: 2px 10px;
  border-radius: var(--rb-radius-pill);
  background: rgba(45, 209, 255, 0.14);
  color: var(--rb-text-muted);
}

.rb-race-foot {
  margin: 2px 0 0;
  font-size: 0.82rem;
  color: var(--rb-text-muted);
}

.rb-section-alt {
  background: radial-gradient(circle at 10% 0%, rgba(255, 148, 64, 0.18) 0, transparent 55%);
}

.rb-section-head {
  margin-bottom: 18px;
}

.rb-section-head h2 {
  margin: 0 0 8px;
  font-size: 1.45rem;
}

.rb-section-head p {
  margin: 0;
  font-size: 0.96rem;
  color: var(--rb-text-muted);
  max-width: 40rem;
}

.rb-section-head--center {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 18px;
}

.rb-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.rb-feature {
  background: linear-gradient(145deg, #101829, #060a18);
  border-radius: var(--rb-radius-md);
  padding: 16px 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.78);
}

.rb-feature h3 {
  margin: 0 0 6px;
  font-size: 1.02rem;
}

.rb-feature p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--rb-text-muted);
}

.rb-policy {
  padding-top: 26px;
}

.rb-policy-card {
  background: #f7f7ff;
  color: #0f1220;
  border-radius: var(--rb-radius-lg);
  padding: 22px 22px 24px;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.26);
}

.rb-policy-card h3 {
  margin-top: 14px;
  margin-bottom: 6px;
  font-size: 1.02rem;
}

.rb-policy-card h3:first-child {
  margin-top: 0;
}

.rb-policy-card p {
  margin: 0 0 10px;
  font-size: 0.94rem;
  color: #3a3e55;
}

.rb-policy-card ul {
  margin: 0 0 10px 18px;
  padding: 0;
  font-size: 0.94rem;
  color: #3a3e55;
}

.rb-policy-card li + li {
  margin-top: 4px;
}

.rb-policy-card a {
  color: #2555d8;
}

.rb-contact {
  padding-top: 26px;
}

.rb-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr);
  gap: 18px;
  align-items: flex-start;
}

.rb-form {
  background: linear-gradient(155deg, #101829, #050815);
  border-radius: var(--rb-radius-lg);
  padding: 18px 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.9);
}

.rb-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.rb-field span {
  color: var(--rb-text-muted);
}

textarea,
input[type="text"],
input[type="email"] {
  font: inherit;
  padding: 9px 11px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(5, 10, 28, 0.9);
  color: var(--rb-text-main);
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

textarea:focus,
input[type="text"]:focus,
input[type="email"]:focus {
  border-color: var(--rb-blue);
  box-shadow: 0 0 0 1px rgba(45, 209, 255, 0.8);
  background: rgba(5, 16, 40, 0.98);
}

textarea {
  resize: vertical;
  min-height: 110px;
}

.rb-field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.rb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 22px;
  border-radius: var(--rb-radius-pill);
  border: none;
  background: radial-gradient(circle at 15% 0%, #fff5d1 0, #ff9440 30%, #ff4b9a 60%, #2dd1ff 100%);
  color: #130516;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.95);
  transition: transform 0.1s ease, box-shadow 0.1s ease, filter 0.1s ease;
}

.rb-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.95);
  filter: brightness(1.03);
}

.rb-btn:active {
  transform: translateY(0);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.9);
}

.rb-contact-side {
  font-size: 0.92rem;
  color: var(--rb-text-muted);
}

.rb-contact-side p {
  margin: 0 0 6px;
}

.rb-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(2, 6, 20, 0.98);
  padding: 16px 0 22px;
}

.rb-footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 0.86rem;
  color: var(--rb-text-muted);
}

.rb-footer-inner a {
  color: var(--rb-text-main);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* Responsive */

@media (max-width: 900px) {
  .rb-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .rb-hero-panel {
    order: -1;
  }
}

@media (max-width: 768px) {
  .rb-nav {
    display: none;
  }
  .rb-shell {
    padding-inline: 16px;
  }
  .rb-feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .rb-contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .rb-field-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .rb-policy-card {
    padding-inline: 18px;
  }
}

@media (max-width: 480px) {
  .rb-brand-sub {
    display: none;
  }
  .rb-brand-mark {
    width: 34px;
    height: 34px;
  }
}
