/* kirytan.stream — the Kirytan Go website (served by the API VM's nginx). Colours from the app. */
:root {
  --red: #d50a0a;
  --red-dark: #a80000;
  --gold: #fab905;
  --green: #04751e;
  --charcoal: #221d1d;
  --bg: #f8f8f9;
  --card: #fff;
  --text: #221d1d;
  --muted: #5f5a5a;
  --border: #e6e3e3;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { color: var(--red); }
a:hover { color: var(--red-dark); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* Language bar at the very top: English | Shona | Ndebele */
.langbar { background: var(--charcoal); font-size: .85rem; }
.langbar .wrap { display: flex; justify-content: flex-end; align-items: center; gap: 4px; padding-top: 6px; padding-bottom: 6px; }
.langbar svg { width: 16px; height: 16px; color: #d9d4d4; margin-right: 4px; }
.langbar a { color: #d9d4d4; text-decoration: none; padding: 3px 10px; border-radius: 999px; }
.langbar a:hover { color: #fff; }
.langbar a[aria-current] { background: #fff; color: var(--charcoal); font-weight: 700; }

/* Flag stripes under the header */
.stripes { height: 6px; background: linear-gradient(90deg, var(--green) 0 25%, var(--gold) 25% 50%, var(--red) 50% 75%, var(--charcoal) 75%); }

header.site { background: #fff; border-bottom: 1px solid var(--border); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--charcoal); font-weight: 800; font-size: 1.15rem; }
.brand img { width: 36px; height: 36px; border-radius: 8px; }
nav.site { display: flex; gap: 18px; flex-wrap: wrap; }
nav.site a { color: var(--charcoal); text-decoration: none; font-weight: 600; font-size: .95rem; }
nav.site a:hover, nav.site a[aria-current] { color: var(--red); }

.hero { background: var(--bg); padding: 48px 0 56px; } /* the logo's own off-white */
.hero .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.15; margin: 0 0 16px; letter-spacing: -.02em; }
.hero h1 span { color: var(--red); }
.hero img { mix-blend-mode: multiply; } /* the logo's near-white background takes the page colour */
.hero p.lead { font-size: 1.15rem; color: var(--muted); margin: 0 0 24px; }
.badges { display: flex; gap: 12px; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 12px; background: var(--charcoal); color: #fff; font-weight: 600; font-size: .95rem; }
.badge small { display: block; font-weight: 400; opacity: .75; font-size: .75rem; }
.note { color: var(--muted); font-size: .9rem; margin-top: 12px; }

section { padding: 56px 0; }
#riders { background: #fff; }
section h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 8px; letter-spacing: -.01em; }
section .intro { color: var(--muted); margin: 0 0 28px; max-width: 640px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 24px; }
.card h3 { margin: 12px 0 6px; font-size: 1.1rem; }
.card p { margin: 0; color: var(--muted); }
.icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.icon svg { width: 24px; height: 24px; }
.i-red { background: var(--red); } .i-green { background: var(--green); } .i-gold { background: var(--gold); color: var(--charcoal); } .i-dark { background: var(--charcoal); }

/* Booking on WhatsApp: the hero's badge, and the riders' panel it jumps to */
.badge-wa { background: var(--green); color: #fff; text-decoration: none; }
.badge-wa:hover { background: #035f18; color: #fff; }
.whatsapp { margin: 0 0 28px; padding: 24px; border: 1px solid var(--border); border-left: 6px solid var(--green); border-radius: 16px; background: #f3faf5; scroll-margin-top: 80px; }
.wa-head { display: flex; gap: 20px; align-items: flex-start; }
.wa-head .icon { flex: none; }
.wa-head h3 { margin: 2px 0 6px; font-size: 1.2rem; }
.wa-head p { margin: 0; color: var(--muted); }
.wa-steps { margin: 18px 0 0; padding-left: 22px; display: grid; gap: 8px; }
.wa-note { margin: 16px 0 0; color: var(--muted); font-size: .9rem; }

/* Booking a ride for later: the riders' panel (laid out like the WhatsApp one) */
.booked { margin: 0 0 28px; padding: 24px; border: 1px solid var(--border); border-left: 6px solid var(--gold); border-radius: 16px; background: #fdf8ea; scroll-margin-top: 80px; }

.drivers { background: var(--charcoal); color: #fff; }
.drivers .intro { color: #d9d4d4; }
.drivers h2 { color: #fff; }
.drivers .card.dark { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.drivers .card.dark p { color: #d9d4d4; }
/* A tile across the whole row, icon beside the text (a feature to call out) */
.card.wide { grid-column: 1 / -1; display: flex; gap: 20px; align-items: flex-start; border-left: 6px solid var(--red); }
.card.wide h3 { margin-top: 2px; }
.card.wide .icon { flex: none; }
.drivers .card.wide { border-left-color: var(--red); }
.drivers .fees { margin-top: 28px; padding: 20px 24px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-left: 6px solid var(--green); }
.drivers .fees h3 { margin: 0 0 4px; font-size: 1.2rem; }
.drivers .fees p { margin: 0; color: #d9d4d4; }
.drivers .fees strong { color: #fff; }
.drivers .fees p.rates { margin-top: 8px; }
.drivers .promo { display: flex; align-items: center; gap: 20px; margin-top: 28px; padding: 20px 24px; border-radius: 16px; background: var(--gold); color: var(--charcoal); }
.drivers .promo h3 { margin: 0 0 4px; font-size: 1.2rem; }
.drivers .promo p { margin: 0; }
.promo-badge { flex: none; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--charcoal); color: var(--gold); font-weight: 800; font-size: 1.5rem; }
.drivers .steps { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.drivers .panel { background: #fff; color: var(--text); border-radius: 16px; padding: 24px; border-top: 6px solid var(--gold); }
.drivers .panel:first-child { border-top-color: var(--green); }
.drivers .panel h3 { margin: 0 0 8px; }
.drivers .panel ol { margin: 0; padding-left: 20px; }
.drivers .panel li { color: var(--muted); margin: 6px 0; }
.drivers .note { color: #d9d4d4; margin-top: 20px; }
.drivers .note a { color: var(--gold); }
.driver-cta { margin: 20px 0 0; padding: 14px 16px; background: #fff; border-left: 4px solid var(--green); border-radius: 10px; }

/* Home page: a card linking to the See it in action page */
.see-it-teaser { padding: 0 0 48px; background: var(--bg); }
.teaser { display: flex; align-items: center; gap: 20px; padding: 16px; background: #fff; border: 1px solid var(--border); border-left: 6px solid var(--red); border-radius: 16px; text-decoration: none; color: var(--text); }
.teaser:hover { border-color: var(--red); color: var(--text); }
.teaser img { flex: none; width: 120px; border-radius: 10px; }
.teaser strong { display: block; font-size: 1.2rem; }
.teaser-text { display: block; color: var(--muted); }
.teaser-cta { display: inline-block; margin-top: 6px; color: var(--red); font-weight: 700; }

/* See it in action (its own page): screen recordings, each in a square tile (two phones fill
   it; one sits in the middle) */
.see-it { background: #fff; }
.see-it h1 { font-size: clamp(1.75rem, 3.5vw, 2.4rem); margin: 0 0 8px; letter-spacing: -.01em; }
.clips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.clip { margin: 0; background: var(--card); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.clip video { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: var(--charcoal); }
.clip figcaption { padding: 14px 18px 18px; color: var(--muted); font-size: .95rem; }
.clip figcaption strong { display: block; color: var(--text); font-size: 1.05rem; margin-bottom: 4px; }
.clip .speed { display: inline-block; margin-left: 4px; padding: 1px 8px; border-radius: 999px; background: var(--bg); border: 1px solid var(--border); font-size: .8rem; color: var(--muted); white-space: nowrap; }

/* Text pages (support, account deletion) */
.page { padding: 40px 0 64px; }
.page .card { max-width: 760px; margin: 0 auto; padding: 32px; }
.page h1 { margin-top: 0; color: var(--red); }
.page h2 { font-size: 1.15rem; margin: 28px 0 6px; }
.page ol, .page ul { padding-left: 22px; }
.page li { margin: 4px 0; }
.contact { display: inline-block; margin: 4px 0 8px; padding: 12px 18px; border-radius: 12px; background: var(--red); color: #fff; font-weight: 700; text-decoration: none; }
.contact:hover { background: var(--red-dark); color: #fff; }
.emergency { display: grid; gap: 8px; margin: 8px 0 4px; }
.emergency .network { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 14px; border: 1px solid var(--border); border-left: 4px solid var(--red); border-radius: 10px; }
.emergency .network strong { min-width: 70px; }
.emergency .network a { font-weight: 700; text-decoration: none; padding: 4px 10px; border-radius: 8px; background: #fdecec; }
.muted { color: var(--muted); }
details { border-top: 1px solid var(--border); padding: 12px 0; }
details:last-of-type { border-bottom: 1px solid var(--border); }
summary { cursor: pointer; font-weight: 600; }
details p { margin: 8px 0 0; color: var(--muted); }

footer.site { background: #fff; border-top: 1px solid var(--border); padding: 28px 0; font-size: .9rem; color: var(--muted); }
footer.site .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer.site nav { display: flex; gap: 16px; flex-wrap: wrap; }
footer.site a { color: var(--muted); }

/* Grid items may shrink below their content's width (a wide image, a long word) — otherwise
   they push the page wider than a phone's screen */
.hero .wrap > *, .grid > *, .drivers .steps > * { min-width: 0; }
body { overflow-wrap: break-word; }

/* Tablets and phones: one column */
@media (max-width: 800px) {
  .hero { padding: 24px 0 40px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 20px; }
  .hero img { order: -1; width: 100%; max-width: 420px; margin: 0 auto; } /* the logo above the headline */
  .grid, .drivers .steps { grid-template-columns: 1fr; }
  .clips { grid-template-columns: 1fr 1fr; }
  section { padding: 40px 0; }
  .page { padding: 24px 0 48px; }
  .page .card { padding: 22px; }
}

/* Phones in portrait */
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  header.site .wrap { min-height: 56px; padding-top: 10px; padding-bottom: 10px; row-gap: 6px; }
  nav.site { gap: 16px; }
  .hero p.lead { font-size: 1.05rem; }
  .card, .drivers .panel { padding: 20px; }
  .drivers .fees, .drivers .promo { padding: 18px; }
  .drivers .promo { flex-direction: column; align-items: flex-start; gap: 12px; }
  .promo-badge { width: 56px; height: 56px; font-size: 1.2rem; }
  .card.wide { flex-direction: column; gap: 0; }
  .card.wide h3 { margin-top: 12px; }
  .whatsapp { padding: 18px; }
  .wa-head { flex-direction: column; gap: 0; }
  .wa-head h3 { margin-top: 12px; }
  .clips { grid-template-columns: 1fr; }
  .teaser { gap: 14px; }
  .teaser img { width: 84px; }
  .page .card { padding: 18px; }
  footer.site .wrap { flex-direction: column; }
}
