/* TookStar website (tokstar.app): one stylesheet for the app's page, the privacy policy and
   the follow-a-ride page. */
:root {
  --bg: #f4f8f6; --surface: #ffffff; --text: #17201c; --muted: #46514c;
  --accent: #0b7a5f; --accent-strong: #075c47; --on-accent: #ffffff;
  --accent-soft: #e2f2ec; --border: #dbe4e0; --shadow: 0 10px 30px rgba(11, 60, 46, 0.08);
  --hero: linear-gradient(160deg, #0b7a5f 0%, #0d5c4a 55%, #10372f 100%); --on-hero: #ffffff;
  --on-hero-muted: #eef8f4;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1412; --surface: #161e1b; --text: #e6eeea; --muted: #a8b6b0;
    --accent: #5fd0ad; --accent-strong: #84ddc1; --on-accent: #0b1a15;
    --accent-soft: #1b2e28; --border: #28332f; --shadow: none;
    --hero: linear-gradient(160deg, #10372f 0%, #0d2a24 60%, #0e1412 100%);
    --on-hero-muted: #b9d6cc;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "Noto Naskh Arabic", "Noto Sans Arabic", "Geeza Pro", Tahoma, sans-serif;
  font-size: 18px; line-height: 1.85;
}
a { color: var(--accent); }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { line-height: 1.4; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.skip {
  position: absolute; inset-inline-start: 16px; top: -60px; padding: 8px 14px; border-radius: 10px;
  background: var(--surface); color: var(--text); z-index: 10;
}
.skip:focus { top: 12px; }

/* Buttons and small parts */
.button {
  display: inline-block; padding: 13px 22px; border-radius: 14px; font-weight: 700;
  background: var(--accent); color: var(--on-accent); text-decoration: none;
}
.badge {
  display: inline-block; padding: 6px 16px; border-radius: 999px; font-weight: 700;
  background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.35);
}
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
  padding: 22px 20px; box-shadow: var(--shadow);
}
.icon { font-size: 1.9rem; line-height: 1; }

/* The app's page */
.hero { background: var(--hero); color: var(--on-hero); padding: 56px 0 64px; text-align: center; }
.hero img {
  width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}
.hero h1 { margin: 18px 0 4px; font-size: 2.4rem; }
.hero .button.store { background: #ffffff; color: #075c47; margin-bottom: 4px; }
.hero .button.store:focus-visible { outline-color: #ffffff; }
.soon .button { margin: 12px 0 4px; }
.hero .lead { margin: 0 auto 22px; max-width: 34em; font-size: 1.2rem; color: var(--on-hero-muted); }
section.block { padding: 48px 0 8px; }
section.block > .wrap > h2 { margin: 0 0 6px; font-size: 1.6rem; text-align: center; }
section.block > .wrap > p.sub { margin: 0 auto 24px; max-width: 38em; text-align: center; color: var(--muted); }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid h3 { margin: 12px 0 4px; font-size: 1.2rem; }
.grid p { margin: 0; color: var(--muted); }
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; }
.steps li { position: relative; padding-inline-start: 52px; margin: 0 0 16px; }
.steps li::before {
  counter-increment: step; content: counter(step); position: absolute; inset-inline-start: 0; top: 2px;
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-strong); font-weight: 700;
}
.block .card > p { margin: 0 0 8px; }
.block .card ul { margin: 0; padding-inline-start: 22px; }
.block .card li { margin: 6px 0; color: var(--muted); }
.block .card li strong { color: var(--text); }
.soon { text-align: center; margin: 48px 0 0; }
.soon h2 { margin: 0 0 6px; }
.soon p { margin: 0; color: var(--muted); }

/* The privacy policy */
.doc { max-width: 820px; margin: 0 auto; padding: 32px 16px 24px; }
.doc header { text-align: center; margin-bottom: 26px; }
.doc header h1 { margin: 0; color: var(--accent); font-size: 1.9rem; }
.doc header p { margin: 4px 0 0; color: var(--muted); }
.doc section { margin-bottom: 16px; }
.doc h2 { margin: 0 0 8px; font-size: 1.2rem; color: var(--accent); }
.doc ul { margin: 0; padding-inline-start: 22px; }
.doc li { margin: 4px 0; }
.note { background: var(--accent-soft); border-radius: 12px; padding: 10px 14px; }
.en { direction: ltr; text-align: left; font-family: -apple-system, "Segoe UI", Roboto, sans-serif; line-height: 1.7; }

/* The follow-a-ride page */
.small { max-width: 480px; margin: 0 auto; padding: 48px 16px; text-align: center; }
.small h1 { margin: 0 0 8px; color: var(--accent); font-size: 1.6rem; }
.small p { margin: 8px 0; color: var(--muted); }
.small .button { display: block; margin-top: 20px; }
.small .install { margin-top: 16px; }
.small .install h2 { margin: 0; font-size: 1.25rem; }
[hidden] { display: none !important; }

footer.site { text-align: center; color: var(--muted); font-size: .95rem; padding: 40px 16px 32px; }
footer.site a { margin: 0 8px; }
