:root {
  --ink: #17202a;
  --muted: #5d6b7a;
  --paper: rgba(255, 255, 255, 0.86);
  --line: rgba(31, 45, 61, 0.12);
  --blue: #2f6690;
  --blue-deep: #173f5f;
  --sand: #f5efe4;
  --mint: #dcefe7;
  --shadow: 0 24px 70px rgba(23, 32, 42, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 8%, rgba(220, 239, 231, 0.95), transparent 28rem),
    radial-gradient(circle at 90% 12%, rgba(47, 102, 144, 0.18), transparent 24rem),
    linear-gradient(135deg, #f7f3ea 0%, #eef4f7 48%, #f9faf8 100%);
  font-family: "IBM Plex Sans Arabic", "Space Grotesk", sans-serif;
  line-height: 1.9;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(23, 32, 42, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 32, 42, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 70%);
}

.page-shell {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(24px, 5vw, 64px) 0;
}

.hero-card,
.policy-card {
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  padding: clamp(22px, 5vw, 46px);
}

.hero-card::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  inset-inline-end: -90px;
  top: -110px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(47, 102, 144, 0.22), rgba(220, 239, 231, 0.7));
}

.brand-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: clamp(58px, 11vw, 82px);
  aspect-ratio: 1;
  border-radius: 26px;
  color: #fff;
  background: linear-gradient(145deg, var(--blue-deep), var(--blue));
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(28px, 6vw, 44px);
  font-weight: 700;
  box-shadow: 0 14px 32px rgba(47, 102, 144, 0.34);
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--blue);
  font-family: "Space Grotesk", "IBM Plex Sans Arabic", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 7vw, 4.5rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.language-switch {
  position: relative;
  z-index: 1;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
}

.lang-button {
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.lang-button.active {
  color: #fff;
  background: var(--blue-deep);
}

.intro {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.3vw, 1.22rem);
}

.meta-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.meta-grid article {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.56);
}

.meta-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
}

.meta-grid strong,
.meta-grid a {
  display: block;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 1.04rem;
  font-weight: 700;
  text-decoration: none;
}

.policy-card {
  margin-top: 22px;
  border-radius: 28px;
  padding: clamp(22px, 5vw, 48px);
}

.policy-section {
  display: grid;
  grid-template-columns: minmax(120px, 0.34fr) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 42px);
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.policy-section:first-child {
  padding-top: 0;
}

.policy-section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.section-number {
  display: inline-grid;
  place-items: center;
  width: 48px;
  aspect-ratio: 1;
  border-radius: 16px;
  color: var(--blue-deep);
  background: var(--mint);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.policy-section h2 {
  margin: 0 0 10px;
  font-size: clamp(1.2rem, 3vw, 1.72rem);
  line-height: 1.35;
}

.policy-section p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 2vw, 1.08rem);
}

body[dir="ltr"] {
  font-family: "Space Grotesk", "IBM Plex Sans Arabic", sans-serif;
  line-height: 1.72;
}

body[dir="ltr"] .eyebrow {
  letter-spacing: 0.1em;
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 20px, 560px);
    padding: 18px 0;
  }

  .hero-card {
    border-radius: 26px;
  }

  .brand-row {
    align-items: flex-start;
  }

  .meta-grid,
  .policy-section {
    grid-template-columns: 1fr;
  }

  .policy-section {
    gap: 12px;
    padding: 24px 0;
  }

  .language-switch {
    width: 100%;
  }

  .lang-button {
    flex: 1;
  }
}

.policy-section ul {
  margin: 0;
  padding-inline-start: 1.4rem;
  color: var(--muted);
  font-size: clamp(0.98rem, 2vw, 1.08rem);
}

.policy-section li + li {
  margin-top: 8px;
}