/* The same colours as the app (ui/Shell.kt): navy, emerald, soft grey background. */
:root {
  --bg: #f5f7fa; --card: #ffffff; --ink: #1b2533; --muted: #6b778a; --brand: #009b77; --line: #e6eaf0;
  --navy: #183153; --brand-soft: #e3f4ee; --on-navy: #ffffff; --navy-muted: #aec5e4;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0f1724; --card: #172235; --ink: #e8edf5; --muted: #9aa6b8; --brand: #2fc29b; --line: #26344c;
          --navy: #1d3a63; --brand-soft: #143a31; --navy-muted: #9fb6d6; }
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Arabic", Tahoma, sans-serif;
}
header { background: var(--card); border-bottom: 1px solid var(--line); }
header .wrap { display: flex; align-items: center; gap: 12px; padding-top: 14px; padding-bottom: 14px; }
header a.brand { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 18px; }
header nav { margin-inline-start: auto; display: flex; gap: 16px; flex-wrap: wrap; }
header nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
header nav a:hover { color: var(--brand); }
.wrap { max-width: 820px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
main { padding-top: 28px; padding-bottom: 48px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 24px; margin-bottom: 20px; }
h1 { font-size: 28px; line-height: 1.25; margin: 0 0 6px; }
h2 { font-size: 19px; margin: 26px 0 6px; }
p, li { color: var(--ink); }
.muted { color: var(--muted); font-size: 14px; }
a { color: var(--brand); }
ul { padding-inline-start: 22px; }
.lang-switch { font-size: 14px; }
[dir="rtl"] { font-family: "Noto Sans Arabic", Tahoma, system-ui, sans-serif; }
footer { color: var(--muted); font-size: 13px; padding: 24px 0 40px; text-align: center; }
.mark { width: 34px; height: 34px; border-radius: 9px; background: var(--brand); display: inline-grid; place-items: center; }
.mark svg { width: 22px; height: 22px; fill: #fff; }

/* ---- home page ---- */
.wide { max-width: 1040px; }
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; padding: 28px 0 12px; }
.hero h1 { font-size: 40px; line-height: 1.15; margin: 0 0 14px; color: var(--navy); }
@media (prefers-color-scheme: dark) { .hero h1 { color: var(--ink); } }
.hero .lead { font-size: 18px; color: var(--muted); margin: 0 0 22px; }
.pill { display: inline-block; background: var(--brand-soft); color: var(--brand); font-weight: 600; font-size: 13px;
        padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.cta { display: inline-block; background: var(--navy); color: #fff; text-decoration: none; font-weight: 600;
       padding: 13px 22px; border-radius: 14px; }
.cta:hover { filter: brightness(1.12); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 36px 0; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.step .n { width: 30px; height: 30px; border-radius: 50%; background: var(--brand-soft); color: var(--brand);
           display: grid; place-items: center; font-weight: 700; margin-bottom: 10px; }
.step h3 { margin: 0 0 6px; font-size: 17px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px; }
.trust div { border-inline-start: 3px solid var(--brand); padding: 4px 14px; }
.trust strong { display: block; margin-bottom: 2px; }
.trust span { color: var(--muted); font-size: 15px; }
h2.section { font-size: 24px; margin: 8px 0 14px; }

/* A phone showing the app's home screen (an illustration, not real data). */
.phone { width: 300px; max-width: 100%; margin: 0 auto; background: var(--bg); border: 10px solid #111a26; border-radius: 40px;
         padding: 18px 14px 22px; box-shadow: 0 24px 60px rgba(24, 49, 83, 0.18); }
.phone .t { font-weight: 700; font-size: 20px; color: var(--navy); margin: 0 4px; }
@media (prefers-color-scheme: dark) { .phone .t { color: var(--ink); } }
.phone .s { color: var(--muted); font-size: 12px; margin: 0 4px 12px; }
.ph-step { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px; margin-bottom: 10px; }
.ph-step .k { color: var(--brand); font-size: 11px; font-weight: 600; }
.ph-step .h { font-weight: 600; font-size: 14px; margin: 2px 0 8px; }
.ph-step .b { background: var(--navy); color: #fff; text-align: center; border-radius: 10px; padding: 7px; font-size: 13px; font-weight: 600; }
.ph-month { background: var(--navy); color: var(--on-navy); border-radius: 18px; padding: 14px; text-align: center; margin-bottom: 10px; }
.ph-month .l { color: var(--navy-muted); font-size: 12px; }
.ph-month .v { font-size: 26px; font-weight: 700; margin: 2px 0; }
.ph-month .g { color: #8fe3c9; font-size: 12px; }
.ph-month .c { background: rgba(255,255,255,0.08); border-radius: 10px; padding: 8px; font-size: 12px; margin-top: 10px; text-align: start; }
.ph-row { display: flex; align-items: center; gap: 10px; background: var(--card); border-radius: 12px; padding: 8px 10px; margin-bottom: 6px; font-size: 13px; }
.ph-row .i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; background: #fcebeb; }
.ph-row .m { flex: 1; font-weight: 600; }
.ph-row .a { font-weight: 600; color: #c62828; }
.ph-row.in .i { background: #e1f5ee; } .ph-row.in .a { color: #00875a; }
.ph-tabs { display: flex; justify-content: space-around; border-top: 1px solid var(--line); margin-top: 12px; padding-top: 10px; font-size: 10px; color: var(--muted); }
.ph-tabs b { color: var(--brand); }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; gap: 28px; }
  .hero h1 { font-size: 30px; }
  .steps, .trust { grid-template-columns: 1fr; }
}

/* FSK: what the letters stand for, beside the name */
.brand .tagline { font-weight: 500; font-size: 0.8em; opacity: 0.7; margin-inline-start: 0.35em; }
