/* Shared by the pricing and policy pages. Same look as /terms and /privacy. */
:root { --blue: #007AFF; --dark: #0A0A0F; --card: #141420; --border: rgba(255,255,255,0.08); --muted: rgba(255,255,255,0.55); --green: #4cd964; }
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif; background: var(--dark); color: #fff; padding: 40px 20px 60px; line-height: 1.7; }
.wrap { max-width: 760px; margin: 0 auto; }
nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 48px; }
.home { color: var(--blue); font-size: 14px; text-decoration: none; }
.lang-toggle { background: rgba(255,255,255,0.06); border: 1px solid var(--border); color: rgba(255,255,255,0.6); font-size: 13px; padding: 6px 14px; border-radius: 20px; cursor: pointer; }
h1 { font-size: 32px; font-weight: 800; margin-bottom: 8px; line-height: 1.25; }
.lede { font-size: 17px; color: rgba(255,255,255,0.7); margin-bottom: 36px; }
.updated { font-size: 13px; color: rgba(255,255,255,0.4); margin-bottom: 40px; }
h2 { font-size: 18px; font-weight: 700; color: var(--blue); margin: 36px 0 10px; }
p, li { font-size: 15px; color: rgba(255,255,255,0.75); margin-bottom: 12px; }
ul, ol { padding-right: 20px; margin-bottom: 12px; }
html[lang="en"] ul, html[lang="en"] ol { padding-right: 0; padding-left: 20px; }
a { color: var(--blue); }
strong { color: rgba(255,255,255,0.95); }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 20px 22px; margin: 16px 0; }
.card p:last-child { margin-bottom: 0; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; font-size: 15px; }
.kv dt { color: var(--muted); }
.kv dd { color: #fff; }
.ltr { direction: ltr; unicode-bidi: isolate; }

/* Pricing */
.periods { display: flex; flex-wrap: wrap; gap: 6px; background: rgba(255,255,255,0.05); border-radius: 12px; padding: 4px; margin: 8px 0 18px; width: fit-content; }
.periods button { background: none; border: 0; color: var(--muted); font: inherit; font-size: 14px; padding: 7px 14px; border-radius: 9px; cursor: pointer; }
.periods button[aria-pressed="true"] { background: #fff; color: #000; font-weight: 600; }
.periods .off { color: var(--green); font-size: 12px; font-weight: 700; margin-inline-start: 4px; }
.periods button[aria-pressed="true"] .off { color: #1e7f3c; }
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.tier { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 18px; }
.tier .up { font-size: 13px; color: var(--muted); }
.tier .n { font-size: 34px; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.tier .n small { font-size: 14px; font-weight: 500; color: var(--muted); margin-inline-start: 4px; }
.tier .price { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
.tier .price small { font-size: 13px; font-weight: 500; color: var(--muted); }
.tier .billed { font-size: 13px; color: var(--muted); margin: 2px 0 0; min-height: 1.7em; }
.enterprise { border-style: dashed; }
.cta { display: inline-block; background: var(--blue); color: #fff; text-decoration: none; font-weight: 600; padding: 12px 20px; border-radius: 12px; margin-top: 8px; }

/* Language: Arabic by default; the toggle flips html[lang]. */
.section-en { display: none; }
html[lang="en"] .section-ar { display: none; }
html[lang="en"] .section-en { display: block; }
html[lang="en"] { direction: ltr; }

footer { max-width: 760px; margin: 56px auto 0; padding-top: 20px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); }
footer p { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
footer .links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 12px; }
footer .links a { color: rgba(255,255,255,0.7); text-decoration: none; }
footer .links a:hover { color: var(--blue); }
