/* Riderz site: static, no scripts, no third-party requests. Palette follows the app (cool dark + orange). */
@font-face { font-family: "Golos"; src: url("GolosText-400.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Golos"; src: url("GolosText-600.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Golos"; src: url("GolosText-800.ttf") format("truetype"); font-weight: 800; font-display: swap; }

:root {
  --bg: #101114;
  --surface: #17191d;
  --line: #2a2e35;
  --text: #f2f3f5;
  --muted: #a3a8b2;
  --accent: #ff7626;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 "Golos", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- landing ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: #16151b image-set(url("hero.webp") type("image/webp"), url("hero.jpg") type("image/jpeg")) center 70% / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16,17,20,.55) 0%, rgba(16,17,20,0) 35%, rgba(16,17,20,0) 55%, rgba(16,17,20,.85) 100%);
}
.hero > * { position: relative; }

.top {
  display: flex;
  justify-content: flex-end;
  gap: 4px;
  padding: 18px 20px 0;
}
.lang a {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  opacity: .75;
}
.lang a[aria-current="page"] { opacity: 1; background: rgba(255,255,255,.12); }

.center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8vh 16px 0;
}
.brand { margin: 0; }
.logo { width: min(440px, 78vw); height: auto; filter: drop-shadow(0 6px 24px rgba(0,0,0,.35)); }
.slogan {
  margin: 6px 0 0;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: clamp(13px, 2.6vw, 16px);
}

.stores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}
.store {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  padding: 12px 26px 13px;
  border-radius: 999px;
  background: rgba(10,10,12,.8);
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.12);
  color: #fff;
  cursor: default;
}
.store small {
  display: block;
  color: #ff9a5c;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.store b { display: block; font-size: 20px; line-height: 1.25; font-weight: 600; letter-spacing: .01em; white-space: nowrap; }

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 22px;
  padding: 40px 16px 26px;
  font-size: 14px;
}
.foot a { color: var(--text); opacity: .85; }
.foot span { color: var(--muted); }

/* ---------- documents ---------- */
.doc { max-width: 780px; margin: 0 auto; padding: 22px 16px 60px; }
.doc header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.doc header img { width: 120px; height: auto; }
.doc h1 { font-size: clamp(26px, 5vw, 34px); line-height: 1.2; margin: 28px 0 6px; font-weight: 800; }
.doc h2 { font-size: 21px; margin: 34px 0 8px; font-weight: 800; }
.doc .date { color: var(--muted); margin: 0 0 18px; }
.doc ul { padding-left: 22px; }
.doc li { margin: 4px 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 9px 10px; border: 1px solid var(--line); }
.doc th { background: var(--surface); font-weight: 600; }
.table-wrap { overflow-x: auto; }
.note { background: var(--surface); border-left: 3px solid var(--accent); padding: 12px 16px; border-radius: 8px; }
.doc .foot { padding-top: 36px; border-top: 1px solid var(--line); margin-top: 40px; }

@media (prefers-color-scheme: light) {
  :root { --bg: #f5f6f8; --surface: #ffffff; --line: #dde0e5; --text: #16181c; --muted: #5d636e; --accent: #d9561a; color-scheme: light; }
  .doc header img { filter: invert(1); }
  .hero { color: #f2f3f5; }
  .hero .foot a, .hero .lang a { color: #f2f3f5; }
}
