@font-face {
  font-family: "Nunito Sans allwain";
  src: url("/web/assets/fonts/nunito-sans-latin-var.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  color-scheme: light;
  font-family: "Nunito Sans allwain", "Noto Sans Arabic", "Noto Sans SC", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #282624;
  background: #f7f5f0;
  --ink: #282624;
  --muted: #625e59;
  --paper: #fffdf8;
  --line: #ded9d1;
  --orange: #ff795a;
  --orange-soft: #fff0e9;
  --green: #174f34;
  --green-soft: #eaf4ec;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); }
a { color: var(--ink); text-decoration-color: var(--orange); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible { outline: 3px solid #222; outline-offset: 3px; }
.header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--line); background: rgba(255, 253, 248, .96); backdrop-filter: blur(12px); }
.header-inner, main, footer { width: min(900px, calc(100% - 40px)); margin: 0 auto; }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { display: block; width: 150px; height: auto; }
.nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 18px; }
.nav a { color: var(--ink); font-size: 13px; font-weight: 800; text-decoration: none; }
.nav a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 3px;
}
.legal-language { display: inline-flex; gap: 7px; align-items: center; color: var(--ink); font-size: 13px; font-weight: 850; }
.legal-language select { min-width: 94px; min-height: 46px; padding: 0 30px 0 12px; border: 1px solid #bbb3aa; border-radius: 999px; color: var(--ink); background: #fff; font: 800 14px/1 inherit; cursor: pointer; }
main { padding: 48px 0 64px; }
.legal-hero { max-width: 760px; }
.eyebrow { margin: 0 0 12px; color: var(--ink); font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { color: var(--orange); content: "● "; }
h1 { margin: 0 0 10px; max-width: 760px; font-size: clamp(36px, 7vw, 60px); line-height: .98; letter-spacing: -.055em; }
h2 { margin: 38px 0 10px; color: var(--ink); font-size: 21px; line-height: 1.18; letter-spacing: -.02em; }
h3 { margin: 24px 0 8px; color: var(--ink); font-size: 16px; }
p, li, td, th { color: var(--muted); font-size: 16px; line-height: 1.62; }
strong { color: var(--ink); }
ul, ol { padding-left: 22px; }
.updated { margin: 0 0 28px; color: #77716c; font-size: 14px; }
.summary { margin: 28px 0 8px; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--green-soft); }
.summary h2 { margin: 0 0 10px; color: var(--green); }
.summary ul { margin: 0; }
.summary li { color: #315d43; }
.status { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 8px 12px; border-radius: 999px; background: var(--orange-soft); color: var(--ink); font-size: 13px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.status::before { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); content: ""; }
.action { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; margin-top: 12px; padding: 0 20px; border-radius: 8px; background: var(--ink); color: #fff; font-weight: 800; text-decoration: none; }
.note, .warning { margin-top: 26px; padding: 18px 20px; border-left: 4px solid var(--orange); border-radius: 0 10px 10px 0; background: var(--orange-soft); color: var(--ink); }
.note p, .warning p { margin: 0; color: inherit; }
.secure-note { border-left-color: var(--green); background: var(--green-soft); color: #315d43; }
.fact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 20px 0 8px; }
.fact { padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.fact strong { display: block; margin-bottom: 5px; font-size: 16px; }
.fact p { margin: 0; font-size: 14px; }
.legal-table-wrap { margin: 18px 0; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.legal-table { width: 100%; border-collapse: collapse; background: #fff; }
.legal-table th, .legal-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-table th { color: var(--ink); background: #f3f0ea; font-size: 13px; }
.legal-table tr:last-child td { border-bottom: 0; }
.link-list { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 24px; }
.link-list a { font-size: 14px; font-weight: 800; }
footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 26px 0 42px; border-top: 1px solid var(--line); color: #77716c; font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.footer-links a { color: #5e5a55; }

@media (max-width: 680px) {
  body { font-size: 18px; }
  .header-inner { align-items: center; flex-wrap: wrap; padding: 14px 0; }
  .nav { order: 3; width: 100%; max-width: none; justify-content: flex-start; gap: 8px 16px; }
  .nav a { min-height: 44px; display: inline-flex; align-items: center; font-size: 16px; }
  .legal-language { margin-inline-start: auto; font-size: 15px; }
  .legal-language select { min-height: 48px; font-size: 16px; }
  main { padding-top: 36px; }
  p, li, td, th { font-size: 18px; line-height: 1.65; }
  h2 { font-size: 25px; line-height: 1.25; }
  h3 { font-size: 21px; line-height: 1.3; }
  .eyebrow, .status, .updated { font-size: 15px; line-height: 1.4; }
  .link-list a, footer { font-size: 16px; }
  .fact-grid { grid-template-columns: 1fr; }
  .summary { padding: 20px; }
}

@media (max-width: 430px) {
  .header-inner, main, footer { width: min(100% - 28px, 900px); }
  .header { position: static; }
  h1 { font-size: 43px; line-height: 1.05; letter-spacing: -.035em; }
}

html[dir="rtl"] ul,
html[dir="rtl"] ol { padding-right: 22px; padding-left: 0; }
html[dir="rtl"] .legal-table th,
html[dir="rtl"] .legal-table td { text-align: right; }
html[dir="rtl"] .note,
html[dir="rtl"] .warning { border-right: 4px solid var(--orange); border-left: 0; border-radius: 10px 0 0 10px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
