/* Kenji Tribe site. Plain CSS, no build. Works from 320 px wide; RTL and LTR share this file. */
:root {
  --ink: #3a1d0e;
  --cream: #fff6e0;
  --gold: #ffb83d;
  --gold-dark: #d9871a;
  --blue: #1f72c4;
  --radius: 16px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--ink);
  background: #8cc152 url("bg.webp") center top / cover no-repeat fixed;
  font: 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Arabic", "Noto Naskh Arabic", Tahoma, sans-serif;
}
a { color: inherit; }
.wrap {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 16px 0;
}
.lang {
  align-self: flex-end;
  margin-bottom: 4px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 246, 224, 0.9);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}
[dir="rtl"] .lang { align-self: flex-start; }
main {
  width: 100%;
  max-width: 440px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.logo { width: min(280px, 72vw); height: auto; margin: 4px 0 12px; filter: drop-shadow(0 4px 6px rgba(58, 29, 14, 0.35)); }
.card {
  width: 100%;
  background: rgba(255, 246, 224, 0.94);
  border-radius: var(--radius);
  padding: 18px 16px;
  box-shadow: 0 6px 18px rgba(58, 29, 14, 0.25);
}
.pitch { margin: 0 0 16px; font-size: 19px; font-weight: 600; }
.pitch span { display: block; }
.btns { display: grid; gap: 10px; }
.btn {
  display: block;
  padding: 13px 16px;
  border-radius: 12px;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.btn small { display: block; font-size: 12px; font-weight: 400; opacity: 0.85; }
.btn.play { background: var(--gold); color: var(--ink); border-color: var(--gold-dark); font-size: 19px; }
.btn.soon { background: transparent; color: var(--ink); border-style: dashed; opacity: 0.7; cursor: default; }
.btn:focus-visible, .lang:focus-visible, footer a:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
footer {
  align-self: stretch;
  margin-inline: -16px;
  margin-top: 18px;
  padding: 14px 16px 18px;
  background: rgba(58, 29, 14, 0.88);
  color: #fff6e0;
  font-size: 14px;
  text-align: center;
}
footer { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; }
footer a { overflow-wrap: anywhere; }

/* Text pages: privacy, terms, 404, get on desktop */
.doc { background: rgba(255, 246, 224, 0.96); border-radius: var(--radius); padding: 18px 16px; width: 100%; max-width: 720px; text-align: start; overflow-wrap: anywhere; }
.doc h1 { font-size: 26px; margin: 0 0 8px; line-height: 1.2; }
.doc h2 { font-size: 19px; margin: 22px 0 4px; }
.doc p, .doc li { margin: 6px 0; }
.doc blockquote { margin: 12px 0; padding: 10px 12px; border-inline-start: 4px solid var(--gold-dark); background: #fff; border-radius: 8px; font-size: 15px; }
.doc table { border-collapse: collapse; width: 100%; font-size: 15px; }
.doc th, .doc td { border: 1px solid #d9c9a3; padding: 6px 8px; text-align: start; vertical-align: top; }
.doc.center { text-align: center; max-width: 440px; }
main.legal { max-width: 720px; }
.back { display: inline-block; margin-bottom: 10px; font-weight: 700; }
@media (min-width: 700px) {
  body { font-size: 18px; background-position: center 72%; }
  .wrap { padding-top: 20px; }
  main { max-width: 480px; }
  .doc { padding: 26px 32px; }
}
