:root {
  --rp-bg: #121212;
  --rp-blue: #2a7de1;
  --rp-blue-soft: rgba(42, 125, 225, 0.18);
  --rp-line: rgba(126, 182, 245, 0.22);
  --rp-text: #fff;
  --rp-muted: rgba(255, 255, 255, 0.68);
  --rp-display: "Sora", system-ui, sans-serif;
  --rp-body: "Plus Jakarta Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  background: var(--rp-bg);
  color: var(--rp-text);
  font-family: var(--rp-body);
  overflow-x: hidden;
}
.rp-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}
.rp-hero {
  position: relative;
  padding: 56px 0 40px;
  overflow: hidden;
}
.rp-hero::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(180deg, rgba(42, 125, 225, 0.12), transparent 42%),
    repeating-linear-gradient(90deg, transparent, transparent 47px, rgba(255,255,255,0.025) 48px);
  pointer-events: none;
}
.rp-kicker, .rp-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.68rem;
  font-weight: 700;
  color: #8bb8f0;
}
.rp-badge {
  border: 1px solid var(--rp-line);
  border-radius: 999px;
  padding: 6px 10px;
  margin-left: 10px;
}
.rp-hero h1 {
  font-family: var(--rp-display);
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin: 14px 0 12px;
  max-width: 11ch;
}
.rp-hero p, .rp-lead {
  color: var(--rp-muted);
  max-width: 42rem;
  line-height: 1.55;
}
.rp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.rp-btn, .rp-btn-ghost {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 6px;
  font: inherit;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 0;
}
.rp-btn { background: var(--rp-blue); color: #fff; }
.rp-btn:hover { background: #3b86e6; }
.rp-btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.rp-btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid var(--rp-line);
}
.rp-route-viz {
  margin-top: 36px;
  padding: 22px;
  border: 1px solid var(--rp-line);
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  box-shadow: 0 0 0 1px rgba(42,125,225,0.08), 0 20px 60px rgba(0,0,0,0.25);
  max-width: 34rem;
}
.rp-route-viz strong { font-family: var(--rp-display); letter-spacing: 0.08em; }
.rp-line {
  position: relative;
  height: 18px;
  margin: 12px 0;
}
.rp-line i, .rp-line b {
  position: absolute;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rp-blue);
  box-shadow: 0 0 0 4px var(--rp-blue-soft);
}
.rp-line i { left: 0; }
.rp-line b { right: 0; }
.rp-line span {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 10px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #7eb6f5, transparent);
  overflow: hidden;
}
.rp-line span::after {
  content: "";
  position: absolute;
  width: 18%;
  height: 100%;
  background: #fff;
  animation: rpDash 3.6s linear infinite;
}
@keyframes rpDash { from { left: -20%; } to { left: 110%; } }
@media (prefers-reduced-motion: reduce) {
  .rp-line span::after { animation: none; }
  .rp-progress b { transition: none; }
}
.rp-btn:focus-visible, .rp-btn-ghost:focus-visible, .rp-search input:focus-visible, .rp-form input:focus-visible {
  outline: 2px solid #8bb8f0;
  outline-offset: 2px;
}
.rp-form label {
  display: block;
  margin: 12px 0 6px;
  color: #8bb8f0;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}
.rp-footer {
  border-top: 1px solid var(--rp-line);
  padding: 28px 0 48px;
  color: var(--rp-muted);
  font-size: 0.9rem;
}
.rp-footer a { color: #8bb8f0; }
.rp-section { padding: 28px 0 72px; }
.rp-section h2 {
  font-family: var(--rp-display);
  letter-spacing: -0.03em;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 8px;
}
.rp-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.rp-card {
  border: 1px solid var(--rp-line);
  border-radius: 18px;
  padding: 22px;
  background: rgba(255,255,255,0.03);
  min-width: 0;
}
.rp-card h3 {
  font-family: var(--rp-display);
  margin: 8px 0;
  font-size: 1.35rem;
}
.rp-price {
  font-family: var(--rp-display);
  font-size: 2.4rem;
  letter-spacing: -0.04em;
  margin: 10px 0 0;
}
.rp-price small { font-size: 0.72rem; letter-spacing: 0.12em; color: var(--rp-muted); display: block; }
.rp-save { color: #b8f0c4; font-weight: 800; margin: 6px 0 14px; }
.rp-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; font-size: 0.92rem; }
.rp-meta dt { color: #8bb8f0; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.68rem; }
.rp-meta dd { margin: 2px 0 0; font-weight: 700; }
.rp-progress {
  height: 6px;
  border-radius: 99px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
  margin: 12px 0 8px;
}
.rp-progress b {
  display: block;
  height: 100%;
  background: var(--rp-blue);
  transition: width 0.5s ease;
}
.rp-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  font-weight: 800;
}
.rp-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8bb8f0;
}
.rp-spots { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.rp-spots span {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  border: 1px solid var(--rp-line);
}
.rp-spots span.on {
  background: var(--rp-blue);
  border-color: var(--rp-blue);
  box-shadow: 0 0 0 3px var(--rp-blue-soft);
}
.rp-steps { display: grid; gap: 12px; margin-top: 20px; }
.rp-step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--rp-line);
  border-radius: 14px;
}
.rp-step b { color: var(--rp-blue); font-family: var(--rp-display); }
.rp-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rp-search {
  display: flex;
  gap: 8px;
  margin: 18px 0 8px;
}
.rp-search input, .rp-form input, .rp-form select, .rp-form textarea {
  width: 100%;
  min-height: 46px;
  border-radius: 8px;
  border: 1px solid var(--rp-line);
  background: rgba(0,0,0,0.25);
  color: #fff;
  padding: 0 12px;
  font: inherit;
}
.rp-empty, .rp-note { color: var(--rp-muted); line-height: 1.5; }
.rp-modal[hidden] { display: none; }
.rp-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(0,0,0,0.64);
  display: grid;
  place-items: center;
  padding: 20px;
}
.rp-dialog {
  width: min(520px, 100%);
  background: #171717;
  border: 1px solid var(--rp-line);
  border-radius: 18px;
  padding: 24px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}
@media (max-width: 760px) {
  .rp-grid, .rp-compare, .rp-meta { grid-template-columns: 1fr; }
  .rp-hero { padding-top: 28px; }
  .rp-card .rp-btn { width: 100%; }
}
.quote-pool-link {
  margin: 10px 0 0;
  font-size: 0.92rem;
}
.quote-pool-link a { color: #8bb8f0; }
