/* Rider Orbit website – self-contained (no external fonts or trackers). */
:root {
  --bg: #04061a;
  --bg2: #0a0f2b;
  --card: #0f1636;
  --line: #1f2a55;
  --text: #e8ecf8;
  --muted: #a3acc9;
  --faint: #6f7aa0;
  --teal: #5bc0c8;
  --blue: #3f86c6;
  --orange: #f58b3c;
  --orange2: #f7a94b;
  --radius: 18px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.wrap { width: min(1120px, 100% - 40px); margin: 0 auto; }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(4, 6, 26, .82); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 19px; letter-spacing: .2px; }
.brand:hover { text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.brand small { display: block; font-size: 11px; font-weight: 500; color: var(--faint); letter-spacing: 0; line-height: 1; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--muted); font-size: 15px; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.lang { background: none; border: 1px solid var(--line); color: var(--muted); border-radius: 8px; padding: 5px 10px; font: inherit; font-size: 13px; cursor: pointer; }
.lang:hover { color: var(--text); border-color: var(--teal); }

/* hero */
.hero { position: relative; overflow: hidden; padding: 84px 0 72px; }
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 820px; height: 820px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(63, 134, 198, .28), transparent 70%); pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; left: -200px; bottom: -320px; width: 640px; height: 640px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(245, 139, 60, .16), transparent 70%); pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.badge { display: inline-block; border: 1px solid rgba(91, 192, 200, .35); background: rgba(91, 192, 200, .08); color: #9fe3e8; padding: 6px 12px; border-radius: 999px; font-size: 13px; }
h1 { font-size: clamp(36px, 5.4vw, 60px); line-height: 1.06; margin: 18px 0 18px; letter-spacing: -1px; }
.grad { background: linear-gradient(100deg, var(--teal), var(--blue) 55%, var(--orange2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--muted); font-size: 19px; max-width: 620px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 14px; }
.btn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); color: var(--text); background: var(--bg2); padding: 12px 20px; border-radius: 12px; font-weight: 600; }
.btn:hover { border-color: var(--teal); text-decoration: none; }
.btn-primary { background: linear-gradient(100deg, var(--orange2), var(--orange)); border: 0; color: #1a0d02; }
.btn-primary:hover { filter: brightness(1.06); }
.store { display: inline-flex; align-items: center; gap: 10px; background: #000; color: #fff; border: 1px solid #333c5c; border-radius: 12px; padding: 9px 18px; }
.store:hover { border-color: var(--teal); text-decoration: none; }
.store svg { width: 26px; height: 26px; }
.store small { display: block; font-size: 11px; color: #c9cedb; line-height: 1.1; }
.store strong { display: block; font-size: 17px; line-height: 1.2; color: #fff; }
.faint { color: var(--faint); font-size: 14px; }
.muted { color: var(--muted); }

/* hero visual: orbit */
.orbit { position: relative; width: 100%; aspect-ratio: 1; max-width: 430px; margin: 0 auto; }
.orbit .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(91, 192, 200, .35); }
.orbit .ring.r2 { inset: 13%; border-color: rgba(63, 134, 198, .35); border-style: solid; }
.orbit .ring.r3 { inset: 26%; border-color: rgba(245, 139, 60, .3); }
.orbit .core { position: absolute; inset: 34%; border-radius: 28%; overflow: hidden; box-shadow: 0 20px 60px rgba(63, 134, 198, .35); }
.orbit .dot { position: absolute; width: 46px; height: 46px; margin: -23px; border-radius: 50%; display: grid; place-items: center; background: var(--card); border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(0, 0, 0, .4); }
.orbit .dot svg { width: 22px; height: 22px; }
.spin { position: absolute; inset: 0; animation: spin 60s linear infinite; }
.spin .dot { animation: spin 60s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spin, .spin .dot { animation: none; } }

/* sections */
section { padding: 84px 0; }
.alt { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.center { text-align: center; }
.eyebrow { color: var(--orange2); font-weight: 700; font-size: 13px; letter-spacing: 1.6px; text-transform: uppercase; }
h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; margin: 10px 0 14px; letter-spacing: -.5px; }
.head { max-width: 720px; margin: 0 auto 44px; }
.grid { display: grid; gap: 18px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin: 12px 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); }
.icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(63, 134, 198, .14); color: var(--teal); }
.icon.o { background: rgba(245, 139, 60, .14); color: var(--orange2); }
.icon svg { width: 22px; height: 22px; }
.list { margin: 14px 0 0; padding: 0; list-style: none; }
.list li { position: relative; padding-left: 24px; margin: 8px 0; color: var(--muted); }
.list li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }

/* steps */
.steps { counter-reset: s; }
.steps .card { position: relative; padding-top: 52px; }
.steps .card::before { counter-increment: s; content: counter(s); position: absolute; top: 18px; left: 24px; width: 26px; height: 26px; border-radius: 50%; background: var(--orange); color: #1a0d02; font-weight: 800; font-size: 14px; display: grid; place-items: center; }

/* faq */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); background: var(--card); border-radius: 14px; padding: 16px 20px; margin: 10px 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { color: var(--muted); margin: 10px 0 0; }

.cta { text-align: center; background: linear-gradient(120deg, rgba(63, 134, 198, .22), rgba(245, 139, 60, .14)); border: 1px solid var(--line); border-radius: 26px; padding: 56px 24px; }

/* docs (legal pages) */
.doc { width: min(820px, 100% - 40px); margin: 0 auto; padding: 56px 0 72px; }
.doc h1 { font-size: clamp(30px, 4vw, 40px); }
.doc h2 { font-size: 22px; margin: 34px 0 10px; }
.doc h3 { font-size: 17px; margin: 22px 0 8px; }
.doc p, .doc li { color: #c9d0e6; }
.doc table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
.doc th, .doc td { border: 1px solid var(--line); padding: 9px 11px; text-align: left; vertical-align: top; }
.doc th { background: var(--bg2); color: var(--text); }
.doc .note { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--orange); border-radius: 12px; padding: 14px 18px; }
.doc .updated { color: var(--faint); font-size: 14px; }

footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--faint); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
footer a { color: var(--muted); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .orbit { max-width: 320px; }
  .g3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .lang { margin-left: auto; }
  .g3, .g2 { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .hero { padding-top: 56px; }
}
