:root {
  --bg: #fbfaf7; --surface: #ffffff; --ink: #1b1f1d; --muted: #5b625e; --line: #e4e1d8;
  --accent: #b5532a; --accent-ink: #ffffff; --accent-soft: #f6e7df; --ok: #2f6b45; --code: #f3f1ea;
  --radius: 14px; --max: 1080px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121413; --surface: #1a1d1b; --ink: #ecebe6; --muted: #a3a8a4; --line: #2c312e;
    --accent: #e07a4b; --accent-ink: #1a1007; --accent-soft: #2e211a; --ok: #7cc496; --code: #222624;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--accent); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
header.top { border-bottom: 1px solid var(--line); background: var(--surface); position: sticky; top: 0; z-index: 5; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; flex-wrap: wrap; }
.brand { font-weight: 700; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.brand span { color: var(--accent); }
nav a { color: var(--muted); text-decoration: none; margin-inline-start: 18px; font-size: 15px; }
.langs { margin-inline-start: 18px; padding-inline-start: 14px; border-inline-start: 1px solid var(--line); white-space: nowrap; }
.langs a { margin-inline-start: 10px; font-size: 14px; }
.langs a:first-child { margin-inline-start: 0; }
.langs a[aria-current] { color: var(--ink); font-weight: 600; }
.amt .local { display: block; font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-top: 2px; }
.local-note { font-size: 14px; color: var(--muted); margin: -12px 0 18px; }
.fx-credit { font-size: 12px; color: var(--muted); }
[dir="rtl"] body, [dir="rtl"] { font-family: "Noto Sans Arabic", "Segoe UI", Tahoma, system-ui, sans-serif; }
nav a:hover { color: var(--ink); }
.hero { padding-top: 64px; padding-bottom: 40px; }
.hero h1 { font-size: clamp(30px, 5vw, 48px); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 16px; max-width: 820px; }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 720px; margin: 0 0 28px; }
.btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 11px 18px; border-radius: 10px; font-weight: 600; text-decoration: none; border: 1px solid var(--line); color: var(--ink); background: var(--surface); }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
section { padding-top: 40px; padding-bottom: 40px; scroll-margin-top: 90px; }
section h2 { font-size: 28px; letter-spacing: -0.01em; margin: 0 0 8px; }
section p.sub { color: var(--muted); margin: 0 0 24px; max-width: 720px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.stats { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin-top: 8px; }
.stat b { display: block; font-size: 30px; letter-spacing: -0.02em; }
.stat span { color: var(--muted); font-size: 14px; }
.price { display: flex; flex-direction: column; }
.price .amt { font-size: 32px; font-weight: 700; margin: 8px 0 2px; letter-spacing: -0.02em; }
.price .amt small { font-size: 15px; color: var(--muted); font-weight: 500; }
.price ul { padding-inline-start: 18px; color: var(--muted); font-size: 15px; flex: 1; }
.price .btn { text-align: center; margin-top: 12px; }
.price .amt.ent { font-size: 20px; line-height: 1.3; margin: 14px 0 8px; }
.price.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.tag { display: inline-block; font-size: 12px; font-weight: 600; background: var(--accent-soft); color: var(--accent); border-radius: 999px; padding: 2px 10px; }
pre, code { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 14px; }
pre { background: var(--code); border: 1px solid var(--line); border-radius: 10px; padding: 14px; overflow-x: auto; }
code { background: var(--code); padding: 1px 5px; border-radius: 5px; }
pre code { background: none; padding: 0; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; }
.table-scroll { overflow-x: auto; }
.note { background: var(--accent-soft); border-radius: 10px; padding: 14px 16px; font-size: 15px; }
footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { color: var(--muted); margin-inline-end: 16px; }
.doc h2 { margin-top: 40px; }
.doc h3 { margin-top: 28px; }
.legal { max-width: 780px; }
.legal h2 { font-size: 20px; margin-top: 28px; }
@media (max-width: 640px) { nav a { margin-inline-start: 12px; } .langs { display: block; border: 0; padding: 0; margin: 4px 0 0; } .hero { padding-top: 40px; padding-bottom: 24px; } }
