/* Base layout */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #05070a;
  color: #f5f5f5;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}
.rb-form-message {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: #22c55e; /* default success color */
}

/* Optional: color variations based on data-type attribute */
.rb-form-message[data-type="success"] {
  color: #22c55e;
}

.rb-form-message[data-type="error"] {
  color: #f97373;
}

.rb-form-message[data-type="neutral"] {
  color: #e5e7eb;
}

.rb-container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Hero */

.rb-hero {
  padding: 4rem 0 3rem;
  background: radial-gradient(circle at top left, #202737 0, #05070a 55%);
}

.rb-hero-inner {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.rb-logo {
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  color: #a5b4fc;
}

.rb-hero-text h1 {
  font-size: clamp(2.3rem, 4vw, 3rem);
  margin: 0 0 0.75rem;
}

.rb-hero-sub {
  max-width: 32rem;
  color: #d1d5db;
  margin-bottom: 1.75rem;
}

.rb-hero-note {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: #9ca3af;
}

/* Buttons */

.rb-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.7rem;
  border-radius: 999px;
  border: none;
  background: #22c55e;
  color: #04110a;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.08s ease, background 0.1s ease;
}

.rb-btn-primary:hover {
  background: #16a34a;
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(34, 197, 94, 0.35);
}

.rb-btn-full {
  width: 100%;
}

/* Hero widget */

.rb-hero-widget {
  display: flex;
  justify-content: center;
}

.rb-widget-card {
  min-width: 260px;
  max-width: 320px;
  padding: 1.25rem 1.5rem;
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.8);
}

.rb-widget-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #9ca3af;
  margin-bottom: 0.4rem;
}

.rb-widget-laps {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.rb-widget-label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.8rem;
  color: #9ca3af;
  margin-bottom: 0.35rem;
}

.rb-widget-percent {
  font-weight: 600;
  color: #a5b4fc;
}

/* Pill bar */

.rb-pill-bar {
  width: 100%;
  height: 16px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.6);
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.rb-pill-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #22c55e, #facc15);
  transition: width 0.2s ease;
}

.rb-widget-caption {
  font-size: 0.8rem;
  color: #9ca3af;
}

/* Sections */

.rb-section {
  padding: 3.5rem 0;
}

.rb-section-light {
  background: #0b1018;
}

.rb-section-cta {
  background: linear-gradient(135deg, #1f2937, #020617);
}

.rb-section h2 {
  font-size: 1.6rem;
  margin-bottom: 0.6rem;
}

.rb-section-intro {
  max-width: 38rem;
  color: #d1d5db;
  margin-bottom: 1.5rem;
}

/* Layout helpers */

.rb-two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.rb-three-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.rb-list-columns {
  align-items: flex-start;
}

/* Cards & lists */

.rb-card {
  border-radius: 0.9rem;
  border: 1px dashed rgba(148, 163, 184, 0.6);
  padding: 1.25rem 1.3rem;
  background: rgba(15, 23, 42, 0.7);
}

.rb-card h3 {
  margin-top: 0;
  margin-bottom: 0.3rem;
  font-size: 1rem;
}

.rb-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rb-bullets li {
  margin-bottom: 0.75rem;
  padding-left: 1.2rem;
  position: relative;
  color: #d1d5db;
  font-size: 0.95rem;
}

.rb-bullets li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #22c55e;
}

/* Steps */

.rb-steps {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 1.5rem;
}

.rb-steps li {
  padding-left: 0.4rem;
  border-left: 2px solid rgba(148, 163, 184, 0.6);
}

.rb-steps h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

/* Roadmap */

.rb-roadmap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.rb-roadmap-item {
  border-radius: 0.9rem;
  border: 1px dashed rgba(148, 163, 184, 0.6);
  padding: 1.25rem 1.3rem;
  background: rgba(15, 23, 42, 0.7);
}

.rb-roadmap-tag {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  padding: 0.15rem 0.7rem;
  margin-bottom: 0.4rem;
  color: #9ca3af;
}

/* CTA form */

.rb-cta-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: flex-start;
}

.rb-form {
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.6);
  padding: 1.5rem 1.5rem 1.75rem;
}

.rb-form label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
  color: #e5e7eb;
}

.rb-form input,
.rb-form select,
.rb-form textarea {
  width: 100%;
  border-radius: 0.6rem;
  border: 1px solid rgba(148, 163, 184, 0.8);
  background: #020617;
  color: #f9fafb;
  padding: 0.6rem 0.7rem;
  font-family: inherit;
  font-size: 0.95rem;
  margin-bottom: 0.9rem;
}

.rb-form input:focus,
.rb-form select:focus,
.rb-form textarea:focus {
  outline: none;
  border-color: #22c55e;
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.6);
}

.rb-form-note {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: #9ca3af;
}

/* Footer */

.rb-footer {
  padding: 1.5rem 0 2rem;
  background: #020617;
  font-size: 0.85rem;
  color: #9ca3af;
}

.rb-footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.rb-footer a {
  color: #e5e7eb;
}

.rb-footer-small {
  font-size: 0.8rem;
}

/* Responsive */

@media (min-width: 768px) {
  .rb-hero-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .rb-two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rb-three-col {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rb-roadmap {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rb-cta-inner {
    grid-template-columns: 1.1fr 1fr;
  }

  .rb-footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
  }
}
