:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #15334a;
  background: #eaf7ff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 80% 0%, #ffffff 0, transparent 34rem), linear-gradient(160deg, #f6fcff, #d9f1ff);
}

main {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 72px;
}

header { margin-bottom: 36px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #0e3857;
  font-weight: 800;
  text-decoration: none;
}

.brand img { width: 44px; height: 44px; border-radius: 12px; }

h1 { margin: 28px 0 8px; font-size: clamp(2rem, 7vw, 3.5rem); line-height: 1; letter-spacing: -0.04em; }
h2 { margin: 32px 0 8px; color: #0f456b; font-size: 1.2rem; }
p, li { font-size: 1rem; line-height: 1.7; }
ul { padding-left: 1.25rem; }
a { color: #056db2; }
.lede { color: #406279; font-size: 1.12rem; }
.updated { color: #668398; font-size: .9rem; }
.card { margin: 28px 0; padding: 22px; border: 1px solid #c6e5f7; border-radius: 18px; background: rgba(255, 255, 255, .78); box-shadow: 0 16px 40px rgba(23, 84, 124, .08); }
.button { display: inline-flex; padding: 12px 18px; border-radius: 999px; color: white; background: #087ec4; font-weight: 750; text-decoration: none; }
footer { margin-top: 48px; padding-top: 20px; border-top: 1px solid #bedff2; color: #668398; }

.legal-language { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 18px; }
.legal-language select { min-height: 44px; max-width: 100%; padding: 8px 14px; border: 1px solid #bacbd4; border-radius: 10px; background: #fff; color: #24485b; font: inherit; }
.legal-language select:focus-visible { outline: 3px solid #2086b5; outline-offset: 3px; }

html:lang(ar) {
  font-family: "Noto Sans Arabic", "Geeza Pro", Inter, ui-sans-serif, system-ui, sans-serif;
}

html[dir="rtl"] body {
  text-align: start;
  line-height: 1.8;
}

html[dir="rtl"] ul { padding-right: 1.25rem; padding-left: 0; }
html[dir="rtl"] .legal-language { direction: rtl; }
html[dir="rtl"] .legal-language select,
html[dir="rtl"] :is(.updated, [data-price]) { unicode-bidi: isolate; }
