/* roadstart: stylesheet for the public pages of Roadstart.
   Plain CSS, no build step, no external fonts, no scripts. Generated by
   tool/build_site.py in the app's repository. */

:root {
  --bg: #f7f9fc; --surface: #ffffff; --border: #dfe5ed;
  --ink: #202b3c; --ink-soft: #526174; --ink-faint: #758397;
  --accent: #1f4e9c; --accent-soft: #e8effb;
  --radius: 12px; --measure: 44rem;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --sans-rtl: "Vazirmatn", "Noto Naskh Arabic", "Geeza Pro", Tahoma, system-ui, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111923; --surface: #192330; --border: #354456;
    --ink: #e5ebf3; --ink-soft: #b4c1d2; --ink-faint: #8b9cb2;
    --accent: #adc9ff; --accent-soft: #223c60;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans);
  font-size: 17px; line-height: 1.65; overflow-wrap: break-word; }
[dir="rtl"] { font-family: var(--sans-rtl); line-height: 1.95; text-align: right; unicode-bidi: isolate; }
.wrap { max-width: var(--measure); margin: 0 auto; padding: 0 1.15rem; }
header.site { border-bottom: 1px solid var(--border); background: var(--surface); }
.site-inner { display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: center;
  justify-content: space-between; padding: .9rem 1.15rem; max-width: 60rem; margin: 0 auto; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700;
  font-size: 1.05rem; color: var(--ink); text-decoration: none; }
.brand svg { width: 28px; height: 28px; }
.brand span { color: var(--ink-faint); font-weight: 400; }
nav.langs { display: flex; gap: .85rem; font-size: .92rem; flex-wrap: wrap; }
nav.langs a { color: var(--ink-soft); }
nav.langs a[aria-current="page"] { color: var(--accent); font-weight: 600; text-decoration: none; }
main { padding: 2rem 0 3rem; }
section { margin: 0 0 2.4rem; }
footer.site { border-top: 1px solid var(--border); margin-top: 2rem; padding: 1.6rem 0 2.6rem;
  color: var(--ink-soft); font-size: .92rem; }
footer.site a { color: var(--ink-soft); }
h1 { font-size: 1.85rem; line-height: 1.25; letter-spacing: -.015em; margin: 0 0 .6rem; }
h2 { font-size: 1.22rem; line-height: 1.35; margin: 2.2rem 0 .6rem; padding-top: .2rem; }
h3 { font-size: 1.02rem; margin: 1.5rem 0 .4rem; }
p, ul, ol { margin: 0 0 .9rem; }
ul, ol { padding-inline-start: 1.35rem; }
li { margin-bottom: .35rem; }
a { color: var(--accent); }
.small { font-size: .9rem; color: var(--ink-soft); }
.meta { font-size: .88rem; color: var(--ink-faint); margin-bottom: 1.6rem; }
code { font-family: var(--mono); font-size: .86em; background: var(--accent-soft); color: var(--ink);
  padding: .08em .34em; border-radius: 5px; direction: ltr; unicode-bidi: isolate; display: inline-block; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.05rem 1.15rem; margin: 0 0 1rem; }
.card h2 { margin-top: 0; font-size: 1.1rem; }
.card p:last-child { margin-bottom: 0; }
.summary { background: var(--accent-soft); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.05rem 1.15rem; margin: 0 0 1.8rem; }
.summary ul { margin-bottom: 0; }
.summary h2 { margin-top: 0; font-size: 1.05rem; }
.stores a, .stores span { display: inline-block; margin: 0 .5rem .5rem 0; padding: .55rem 1.1rem;
  border-radius: 10px; background: var(--accent); color: var(--surface); text-decoration: none; font-weight: 600; }
.stores span { background: var(--border); color: var(--ink-soft); }
:target { scroll-margin-top: 1.2rem; }
.toc { list-style: none; padding: 0; columns: 2; column-gap: 1.6rem; font-size: .94rem; }
.toc li { margin-bottom: .3rem; break-inside: avoid; }
@media (max-width: 34rem) { .toc { columns: 1; } h1 { font-size: 1.6rem; } }
