:root { --bg:#0B0C10; --panel:#15171D; --panel2:#111318; --line:#262932; --text:#F5F2EC; --muted:#A3A8B4; --soft:#C9CDD6; --accent:#FF6B47; --accent2:#FF8A6B; --ok:#3DDC97; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--accent2); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.display { font-family: 'Space Grotesk', sans-serif; letter-spacing: -0.03em; }
nav.top { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; gap: 12px; }
.brand { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 26px; letter-spacing: -0.5px; text-decoration: none; color: var(--text); }
.brand span { color: var(--accent); }
.navlinks { display: flex; gap: 18px; align-items: center; }
.navlinks a.plain { color: var(--soft); text-decoration: none; font-weight: 500; font-size: 15px; }
.pill-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 22px; background: var(--text); color: var(--bg); text-decoration: none; font-weight: 700; font-size: 15px; }
.crumbs { font-size: 14px; color: var(--muted); margin: 8px 0 18px; }
.crumbs a { color: var(--soft); text-decoration: none; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; padding-bottom: 72px; }
article h1 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.04; margin: 0 0 14px; }
.meta { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.hero { position: relative; border-radius: 26px; overflow: hidden; background: var(--panel); aspect-ratio: 16 / 10; margin: 0 0 28px; }
.hero img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; display: block; }
.hero .chip, .teaser .chip { position: absolute; padding: 8px 12px; border-radius: 14px; background: rgba(11,12,16,0.78); font-size: 13px; font-weight: 600; color: var(--text); }
.hero figcaption { position: absolute; right: 12px; bottom: 10px; font-size: 12px; color: #D5D8DF; background: rgba(11,12,16,0.6); padding: 4px 8px; border-radius: 8px; }
.body { font-size: 18px; line-height: 1.7; color: #E4E1DA; }
.body h2 { font-family: 'Space Grotesk', sans-serif; letter-spacing: -0.02em; font-size: 30px; line-height: 1.15; margin: 44px 0 12px; color: var(--text); }
.body h3 { font-size: 21px; margin: 30px 0 8px; color: var(--text); }
.body p { margin: 0 0 18px; }
.body ul, .body ol { padding-left: 22px; margin: 0 0 20px; }
.body li { margin-bottom: 8px; }
.body strong { color: var(--text); }
.tablewrap { overflow-x: auto; margin: 0 0 24px; border: 1px solid var(--line); border-radius: 16px; }
.body table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; min-width: 560px; }
.body th, .body td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.body th { background: var(--panel); color: var(--text); font-weight: 600; }
.body tr:last-child td { border-bottom: 0; }
.teaser { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 20px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: 24px; padding: 16px; margin: 32px 0; }
.teaser .pic { position: relative; height: 220px; border-radius: 18px; overflow: hidden; }
.teaser .pic .blur { position: absolute; inset: -20px; filter: blur(14px); }
.teaser .pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.teaser h3 { margin: 0 0 6px; font-size: 22px; }
.teaser p { margin: 0 0 14px; font-size: 16px; line-height: 1.5; color: var(--muted); }
.cta { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 20px; border-radius: 24px; background: var(--accent); color: var(--bg); text-decoration: none; font-weight: 700; font-size: 16px; }
.faq h2 { font-family: 'Space Grotesk', sans-serif; font-size: 30px; margin: 48px 0 14px; }
details { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; margin-bottom: 10px; }
summary { font-size: 17px; font-weight: 600; cursor: pointer; }
details p { margin: 10px 0 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
.sources { margin-top: 40px; font-size: 14px; color: var(--muted); }
.sources h2 { font-size: 18px; margin: 0 0 8px; color: var(--soft); }
.sources li { margin-bottom: 6px; }
.sources a { color: var(--soft); }
aside .box { position: sticky; top: 20px; background: var(--panel); border: 1px solid var(--line); border-radius: 24px; padding: 20px; }
aside h2 { font-family: 'Space Grotesk', sans-serif; font-size: 24px; line-height: 1.1; margin: 0 0 8px; }
aside p { margin: 0 0 14px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.joinbox label.field { display: block; font-size: 13px; font-weight: 600; color: var(--soft); margin-bottom: 6px; }
.joinbox input[type=email] { width: 100%; height: 50px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); color: var(--text); padding: 0 14px; font: 500 16px Inter, sans-serif; }
.joinbox input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.check { display: flex; gap: 10px; align-items: center; font-size: 14px; min-height: 44px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--accent); margin: 0; flex-shrink: 0; }
.go { width: 100%; height: 52px; border: 0; border-radius: 26px; background: var(--accent); color: var(--bg); font: 700 16px Inter, sans-serif; cursor: pointer; margin-top: 4px; }
.go[disabled] { opacity: 0.6; cursor: wait; }
.fine { font-size: 12px; color: var(--muted); line-height: 1.5; margin: 10px 0 0; }
.err { color: #FF9B9B; font-size: 14px; margin: 8px 0 0; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.done h3 { margin: 0 0 6px; font-size: 22px; }
.done .linkbox { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: var(--bg); border: 1px dashed var(--line); font: 600 14px Inter, sans-serif; word-break: break-all; }
.related { margin-top: 18px; }
.related h3 { font-size: 15px; color: var(--soft); margin: 0 0 8px; }
.related a { display: block; color: var(--text); text-decoration: none; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; padding-bottom: 80px; }
.card { display: block; background: var(--panel); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; text-decoration: none; color: var(--text); }
.card img { width: 100%; height: 180px; object-fit: cover; object-position: center 28%; display: block; }
.card div { padding: 18px; }
.card h2 { font-size: 21px; margin: 0 0 6px; line-height: 1.2; }
.card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
footer { border-top: 1px solid #1E2128; padding: 28px 0 40px; }
.foot { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; font-size: 14px; color: var(--muted); }
.foot a { color: var(--soft); text-decoration: none; margin-right: 14px; }
@media (max-width: 900px) {
  .layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  aside .box { position: static; }
  .teaser { grid-template-columns: minmax(0, 1fr); }
  .teaser .pic { height: 200px; }
  .body { font-size: 17px; }
  .navlinks a.plain { display: none; }
}
/* Right-to-left pages (Arabic) */
[dir=rtl] .display, [dir=rtl] .body h2, [dir=rtl] .faq h2 { letter-spacing: 0; line-height: 1.25; }
[dir=rtl] .body ul, [dir=rtl] .body ol { padding-left: 0; padding-right: 22px; }
[dir=rtl] .hero figcaption { right: auto; left: 12px; }
[dir=rtl] .body th, [dir=rtl] .body td { text-align: right; }
[dir=rtl] .brand { direction: ltr; unicode-bidi: isolate; }
[dir=rtl] .joinbox input[type=email], [dir=rtl] .linkbox { direction: ltr; text-align: right; }
[lang=hi] .display, [lang=hi] article h1 { line-height: 1.2; letter-spacing: -0.01em; }
