/* Falcon Orbit — falconorbit.ae
   Built from the owner's design "Falcon Orbit Website" (Main.dc.html, 13 Nov 2026) and the
   Falcon Orbit design tokens: navy + white lead, teal accent, coral for calls to action and
   small accents, square corners, Sora; IBM Plex Sans Arabic for Arabic.
   No inline styles or scripts anywhere: CSP style-src 'self', script-src 'self'. */

/* ---------- Fonts (self-hosted, SIL OFL 1.1 — licences in /assets/fonts/) ---------- */
@font-face {
  font-family: "Sora"; font-style: normal; font-weight: 300; font-display: swap;
  src: url("/assets/fonts/sora-latin-300-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Sora"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/sora-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Sora"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/assets/fonts/sora-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Sora"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/assets/fonts/sora-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-arabic-arabic-500-normal.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-arabic-arabic-600-normal.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-arabic-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-arabic-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-arabic-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens (Falcon Orbit design system) ---------- */
:root {
  --navy: #0B2230;        /* falcon-navy */
  --navy-line: #1E3B4A;   /* rules on navy (design) */
  --white: #FFFFFF;
  --teal: #0D7A76;        /* orbit-teal, on white grounds */
  --teal-light: #2EC4BE;  /* orbit-teal on navy grounds ONLY */
  --coral: #F07A5F;       /* calls to action and small accents; never text on white */
  --coral-text: #B1442C;  /* coral for text and labels on white / raised */
  --raised: #F2F6F7;      /* surface-raised */
  --muted: #4A5D68;       /* ink-muted */
  --on-navy: #C9D6DD;     /* secondary text on navy */
  --hairline: #D5DEE2;

  --font: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-ar: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;

  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(64px, 8vw, 112px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
  background: var(--white);
  scroll-padding-top: 96px; /* anchors land below the sticky header */
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  text-align: start;
  overflow-wrap: break-word;
}
html[lang="ar"] body { font-family: var(--font-ar); font-size: 17px; line-height: 1.75; }

h1, h2, h3, p, ul, ol, dl, dd, address { margin: 0; }
ul, ol { padding: 0; }
address { font-style: normal; }
strong { font-weight: 600; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; border-radius: 0; }
.nowrap { white-space: nowrap; }
.ltr { direction: ltr; unicode-bidi: isolate; }

a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.site-header :focus-visible, .site-footer :focus-visible, .hero :focus-visible,
.arm--core :focus-visible, .page-head :focus-visible { outline-color: var(--teal-light); }

.skip {
  position: absolute; inset-inline-start: 16px; top: -200px; z-index: 100;
  background: var(--white); color: var(--navy); padding: 10px 16px; font-weight: 500;
}
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* Small uppercase label above a heading */
.eyebrow {
  font-family: var(--font); font-size: 12px; line-height: 16px; font-weight: 600;
  letter-spacing: 2.5px; text-transform: uppercase; color: var(--teal);
}
html[lang="ar"] .eyebrow { font-family: var(--font-ar); font-size: 15px; line-height: 24px; letter-spacing: 0; text-transform: none; }

/* Section headings */
.h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.15; font-weight: 600; }
html[lang="ar"] .h2 { line-height: 1.45; }
.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 720px; }
.section-intro { font-size: 18px; line-height: 1.65; font-weight: 300; color: var(--muted); }
.section-intro--sm { font-size: 17px; }
html[lang="ar"] .section-intro { font-size: 19px; line-height: 1.8; }

/* Buttons (square: the brand is sharp) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px;
  padding: 14px 28px; font-family: inherit; font-size: 15px; line-height: 1.4; font-weight: 600;
  text-decoration: none; text-align: center;
}
.btn--coral { background: var(--coral); color: var(--navy); }
.btn--coral:hover { background: var(--white); color: var(--navy); }
.btn--ghost { border: 1px solid var(--white); background: var(--navy); color: var(--white); font-weight: 500; padding: 13px 27px; }
.btn--ghost:hover { background: var(--white); color: var(--navy); }
html[lang="ar"] .btn { font-size: 17px; }

/* Small tags: CORE, COMING SOON */
.tag {
  display: inline-block; font-family: var(--font); font-size: 11px; line-height: 14px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase; padding: 5px 9px;
}
.tag--core { background: var(--coral); color: var(--navy); }
.tag--soon { border: 1px solid var(--coral-text); color: var(--coral-text); padding: 4px 8px; }
html[lang="ar"] .tag { font-family: var(--font-ar); font-size: 14px; line-height: 20px; letter-spacing: 0; text-transform: none; padding-block: 2px; }
html[lang="ar"] .tag--soon { padding-block: 1px; }

/* Decorative orbit rings (inline SVG) */
.rings { position: absolute; max-width: none; pointer-events: none; }

/* ---------- Header (sticky, navy) ---------- */
.site-header { position: relative; z-index: 50; background: var(--navy); color: var(--white); border-bottom: 1px solid var(--navy-line); }
.js .site-header { position: sticky; top: 0; }
.header-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0 12px; min-height: 80px; padding-block: 16px; }

.brand { display: flex; align-items: center; gap: 12px; min-height: 48px; flex: none; margin-inline-end: auto; color: var(--white); text-decoration: none; }
/* As in the design: mark 46px, 1px teal divider, FALCON (600) over ORBIT (300, teal) */
.brand .mark { display: block; flex: none; }
.brand-rule { width: 1px; height: 30px; background: var(--teal-light); flex: none; }
.brand-name { display: flex; flex-direction: column; gap: 3px; line-height: 1; font-size: 14px; letter-spacing: 3px; }
.brand-name span:first-child { font-weight: 600; }
.brand-name span:last-child { font-weight: 300; color: var(--teal-light); }

.lang {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; min-width: 48px; padding-inline: 10px;
  color: var(--white); text-decoration: none; font-size: 15px; line-height: 20px;
}
.lang:hover { color: var(--teal-light); text-decoration: underline; }
.lang[lang="ar"] { font-family: var(--font-ar); font-weight: 500; font-size: 17px; }
.lang[lang="en"] { font-family: var(--font); font-weight: 400; }

.menu-btn { display: none; }
.js .menu-btn {
  display: flex; flex: none; align-items: center; justify-content: center;
  width: 48px; height: 48px; padding: 0; cursor: pointer;
  background: transparent; color: var(--white); border: 1px solid var(--teal-light);
}
.menu-btn .icon-close, .menu-btn[aria-expanded="true"] .icon-open { display: none; }
.menu-btn[aria-expanded="true"] .icon-close { display: block; }

/* Mobile: the menu is a full-width panel under the bar (always shown without JavaScript) */
.site-nav { flex: 1 0 100%; padding-block: 8px; }
.js .site-nav { display: none; max-height: calc(100vh - 96px); overflow-y: auto; }
.js .menu-btn[aria-expanded="true"] ~ .site-nav { display: block; }
.nav-list { list-style: none; display: flex; flex-direction: column; }
.nav-list a:not(.btn) {
  display: flex; align-items: center; min-height: 52px; padding-block: 14px;
  color: var(--white); text-decoration: none; font-size: 17px; line-height: 24px;
  border-bottom: 1px solid var(--navy-line);
}
.nav-list a:not(.btn):hover { color: var(--teal-light); }
.nav-lang { display: none; }
.nav-cta .btn { display: flex; width: 100%; margin-top: 20px; font-size: 16px; padding: 16px 20px; }
html[lang="ar"] .nav-list a:not(.btn) { font-size: 18px; }

@media (min-width: 860px) {
  .header-bar { flex-wrap: nowrap; gap: 24px; }
  .lang--bar, .js .menu-btn { display: none; }
  .site-nav, .js .site-nav { display: block; flex: none; padding: 0; max-height: none; overflow: visible; }
  .nav-list { flex-direction: row; align-items: center; gap: 0 clamp(14px, 1.9vw, 28px); }
  .nav-list a:not(.btn) { min-height: 48px; min-width: 44px; justify-content: center; padding-block: 0; border: 0; font-size: 14px; line-height: 20px; }
  .nav-list a:not(.btn):hover { text-decoration: underline; text-underline-offset: 6px; }
  .nav-lang { display: block; }
  .nav-lang .lang { padding-inline: 0; }
  .nav-cta .btn { margin: 0; width: auto; min-height: 44px; padding: 10px 18px; font-size: 14px; }
  html[lang="ar"] .nav-list a:not(.btn) { font-size: 16px; }
  html[lang="ar"] .nav-cta .btn { font-size: 16px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); color: var(--white); }
/* As in the design (right: -170px) from 1200px up; on narrower screens the rings slide further out
   so the coral dot and the inner rings stay clear of the headline and the lead. */
.hero-rings {
  --ring-off: calc(-170px - max(0px, (1200px - 100vw) / 2));
  width: 640px; height: 640px; right: var(--ring-off); top: 50%; transform: translateY(-50%);
}
[dir="rtl"] .hero-rings { right: auto; left: var(--ring-off); transform: translateY(-50%) scaleX(-1); }
.hero-inner { position: relative; padding-block: clamp(56px, 8vw, 120px) clamp(64px, 9vw, 136px); }
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.hero h1 { font-size: clamp(40px, 5.6vw, 72px); line-height: 1.04; font-weight: 600; letter-spacing: -1px; }
.hero h1 span { display: block; }
.hero-lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; font-weight: 300; color: var(--on-navy); max-width: 540px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
html[lang="ar"] .hero h1 { line-height: 1.3; letter-spacing: 0; }
html[lang="ar"] .hero-lead { font-size: clamp(19px, 1.7vw, 22px); line-height: 1.75; font-weight: 400; max-width: 600px; }
/* Phones: keep the rings, but lower and fainter so they never sit behind the words */
@media (max-width: 719px) {
  .hero-rings { width: 480px; height: 480px; top: auto; bottom: -270px; right: -200px; transform: none; opacity: 0.85; }
  [dir="rtl"] .hero-rings { right: auto; left: -200px; transform: scaleX(-1); }
  .hero-inner { padding-bottom: 200px; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section--raised { background: var(--raised); }

/* What we do: the two arms */
.arms { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 24px; margin-top: 48px; }
.arm { display: flex; flex-direction: column; gap: 22px; padding: clamp(28px, 4vw, 48px); }
.arm--core { background: var(--navy); color: var(--white); }
.arm--light { background: var(--raised); }
.arm-meta { display: flex; align-items: center; gap: 12px; min-height: 24px; }
.num { font-family: var(--font); font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 2px; color: var(--teal); }
.arm--core .num { color: var(--teal-light); }
.arm h3 { font-size: 28px; line-height: 1.2; font-weight: 600; }
.arm-text { font-size: 16px; line-height: 1.65; font-weight: 300; color: var(--muted); }
.arm--core .arm-text { color: var(--on-navy); }
.points { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; font-size: 15px; line-height: 1.5; }
.points li { display: flex; gap: 10px; align-items: flex-start; }
/* round 8px dots, as in the design */
.points li::before {
  content: ""; flex: none; width: 8px; height: 8px; margin-top: 7.5px;
  border-radius: 50%; background: var(--teal);
}
.arm--core .points li::before { background: var(--coral); }
.arm-link {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; margin-block: -6px -10px;
  font-size: 15px; font-weight: 500; text-decoration: none; color: var(--teal);
}
.arm--core .arm-link { color: var(--teal-light); }
.arm-link:hover { text-decoration: underline; }
html[lang="ar"] .arm h3 { font-size: 28px; line-height: 1.4; }
html[lang="ar"] .arm-text { font-size: 17px; line-height: 1.8; font-weight: 400; }
html[lang="ar"] .points { font-size: 16px; line-height: 1.6; }
html[lang="ar"] .points li::before { margin-top: 10px; }
html[lang="ar"] .arm-link { font-size: 16px; }

.commerce { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 48px; font-size: 14px; color: var(--muted); }
.commerce strong { color: var(--navy); font-weight: 600; }
html[lang="ar"] .commerce { font-size: 16px; }

/* Products */
.products-grid { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px; }
.products-grid > .section-head { flex: 1 1 340px; min-width: 0; }
.products-list { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.product { display: flex; flex-direction: column; gap: 14px; background: var(--white); border-top: 3px solid var(--navy); padding: clamp(28px, 4vw, 44px); }
.product h3 { font-size: clamp(24px, 2.6vw, 30px); line-height: 1.2; font-weight: 600; }
.product-by { font-size: 13px; line-height: 1.5; color: var(--muted); }
.product-site { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 8px; font-size: 15px; }
.product-url { font-weight: 500; color: var(--navy); }
.note { font-size: 13px; line-height: 1.5; color: var(--muted); }
html[lang="ar"] .product-by, html[lang="ar"] .note { font-size: 15px; }

/* Statement band */
.statement { background: var(--navy); color: var(--white); }
.statement-inner { display: flex; flex-direction: column; gap: 28px; padding-block: clamp(72px, 9vw, 128px); }
.statement h2 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.12; font-weight: 600; max-width: 900px; }
.statement p { font-size: 18px; line-height: 1.7; font-weight: 300; color: var(--on-navy); max-width: 760px; }
html[lang="ar"] .statement h2 { line-height: 1.4; }
html[lang="ar"] .statement p { font-size: 19px; line-height: 1.85; font-weight: 400; }

/* Values */
.values { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 28px; margin-top: 48px; }
.value { display: flex; flex-direction: column; gap: 10px; border-top: 2px solid var(--navy); padding-top: 20px; }
.value--accent { border-top-color: var(--coral); }
.value h3 { font-size: 20px; line-height: 1.3; font-weight: 600; }
.value p { font-size: 15px; line-height: 1.6; font-weight: 300; color: var(--muted); }
html[lang="ar"] .value h3 { font-size: 22px; line-height: 1.5; }
html[lang="ar"] .value p { font-size: 17px; line-height: 1.75; font-weight: 400; }

/* Why we exist / Where we are going */
.purpose { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 48px; }
.purpose > div { display: flex; flex-direction: column; gap: 16px; }
.purpose-lead { font-size: 22px; line-height: 1.45; font-weight: 500; }
.purpose-text { font-size: 17px; line-height: 1.65; font-weight: 300; color: var(--muted); }
html[lang="ar"] .purpose-lead { font-size: 23px; line-height: 1.7; }
html[lang="ar"] .purpose-text { font-size: 19px; line-height: 1.8; font-weight: 400; }

/* Contact */
.contact-grid { display: flex; flex-wrap: wrap; gap: 48px; }
.contact-grid > .section-head { flex: 1 1 360px; min-width: 0; }
.contact-main { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.contact-email {
  align-self: flex-start; display: inline-flex; align-items: flex-end; min-height: 48px;
  font-size: clamp(26px, 3vw, 36px); line-height: 1.25; font-weight: 600;
  color: var(--navy); text-decoration: none; border-bottom: 3px solid var(--coral); padding-bottom: 6px;
}
.contact-email:hover { color: var(--teal); }
@media (max-width: 359px) { .contact-email { font-size: 22px; } }
.contact-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 24px; border-top: 1px solid var(--hairline); padding-top: 24px; }
.contact-info > div { display: flex; flex-direction: column; gap: 8px; }
.info-label { font-size: 11px; line-height: 16px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--teal); }
html[lang="ar"] .info-label { font-size: 15px; line-height: 24px; letter-spacing: 0; text-transform: none; }
.contact-info address, .contact-info p { font-size: 15px; line-height: 1.6; font-weight: 300; }
html[lang="ar"] .contact-info address, html[lang="ar"] .contact-info p { font-size: 17px; line-height: 1.8; font-weight: 400; }

/* ---------- Footer (navy) ---------- */
.site-footer { background: var(--navy); color: var(--on-navy); font-size: 13px; line-height: 1.6; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; padding-block: 40px; }
.footer-id { display: flex; align-items: center; gap: 12px; min-width: 0; }
.footer-id .mark { display: block; flex: none; }
.footer-legal span { white-space: nowrap; }
.footer-legal .sep { white-space: normal; }
.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: 0 24px; }
.footer-links a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; color: var(--teal-light); text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
html[lang="ar"] .site-footer { font-size: 15px; line-height: 1.7; }

/* ---------- Page head (legal pages, 404) ---------- */
.page-head { position: relative; overflow: hidden; background: var(--navy); color: var(--white); }
.page-rings { display: none; }
.page-head-inner { position: relative; padding-block: 48px 56px; }
.page-head .eyebrow { color: var(--teal-light); }
.page-head h1 { margin-top: 12px; font-size: 36px; line-height: 1.2; font-weight: 600; letter-spacing: -0.5px; }
.page-meta { margin-top: 16px; color: var(--on-navy); font-weight: 300; }
.page-head .back { margin-top: 28px; }
html[lang="ar"] .page-head h1 { font-size: 40px; line-height: 1.4; letter-spacing: 0; }
html[lang="ar"] .page-meta { font-weight: 400; }
@media (min-width: 860px) {
  .page-rings { display: block; width: 640px; height: 640px; right: -170px; top: 50%; transform: translateY(-28%); }
  [dir="rtl"] .page-rings { right: auto; left: -170px; transform: translateY(-28%) scaleX(-1); }
  .page-head-inner { padding-block: 72px 88px; }
  .page-head h1 { font-size: 52px; letter-spacing: -1px; }
  html[lang="ar"] .page-head h1 { font-size: 56px; letter-spacing: 0; }
}

/* ---------- Legal pages ---------- */
.legal { display: grid; gap: 40px; padding-block: 40px var(--section-y); }
@media (min-width: 1024px) {
  .legal { grid-template-columns: 260px minmax(0, 1fr); column-gap: 96px; padding-block: 72px var(--section-y); }
}
.toc-desktop { display: none; }
@media (min-width: 1024px) {
  .toc-mobile { display: none; }
  .toc-desktop { display: block; }
  .toc { position: sticky; top: 104px; max-height: calc(100vh - 128px); overflow: auto; }
}
.toc-title { margin-bottom: 12px; }
.toc ol { list-style: none; display: grid; gap: 2px; }
.toc a { display: block; padding-block: 5px; font-size: 14px; line-height: 20px; color: var(--navy); text-decoration: none; }
.toc a:hover { color: var(--teal); text-decoration: underline; }
html[lang="ar"] .toc a { font-size: 16px; line-height: 24px; }
details.toc-mobile { border: 1px solid var(--hairline); background: var(--raised); }
.toc-mobile summary {
  cursor: pointer; list-style: none; padding: 12px 16px; min-height: 48px; font-weight: 500;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.toc-mobile summary::-webkit-details-marker { display: none; }
.toc-mobile summary::after { content: "+"; font-family: var(--font); font-size: 20px; line-height: 20px; color: var(--teal); }
.toc-mobile[open] summary::after { content: "\2212"; }
.toc-mobile ol { padding: 0 16px 12px; }
.toc-mobile a { min-height: 44px; display: flex; align-items: center; }

.prose { max-width: 38rem; font-weight: 300; }
html[lang="ar"] .prose { max-width: 40rem; font-weight: 400; }
.prose > p:first-child { font-size: 18px; line-height: 1.65; }
html[lang="ar"] .prose > p:first-child { font-size: 20px; line-height: 1.75; }
.prose h2 { margin-top: 48px; font-size: 22px; line-height: 1.35; font-weight: 600; letter-spacing: -0.2px; }
@media (min-width: 1024px) { .prose h2 { font-size: 24px; } }
html[lang="ar"] .prose h2 { font-size: 26px; line-height: 1.45; letter-spacing: 0; }
.prose h3 { margin-top: 24px; font-size: 18px; line-height: 1.45; font-weight: 500; }
html[lang="ar"] .prose h3 { font-size: 20px; line-height: 1.6; }
.prose p, .prose ul { margin-top: 16px; }
.prose ul { padding-inline-start: 1.25em; }
.prose li { margin-top: 8px; padding-inline-start: 4px; }
.prose li::marker { color: var(--teal); }
.prose ul ul { margin-top: 8px; }
.quote-exact { padding: 16px 24px; background: var(--raised); }

.details { margin-top: 24px; background: var(--raised); padding: 24px; }
.details h3 { margin-top: 0; }
.details dl { display: grid; gap: 16px; margin-top: 16px; }
.details dl > div { display: grid; gap: 2px; }
@media (min-width: 600px) { .details dl > div { grid-template-columns: 200px minmax(0, 1fr); gap: 16px; } }
.details dt { font-size: 12px; line-height: 26px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
html[lang="ar"] .details dt { font-size: 15px; line-height: 30px; letter-spacing: 0; text-transform: none; }
.details ul { list-style: none; padding: 0; margin: 0; }
.details li { margin: 0; padding: 0; }
.details li + li { margin-top: 4px; }
.lic { font-weight: 500; }

/* ---------- 404 ---------- */
.h2--sm { font-size: clamp(26px, 3vw, 34px); }
.link-list { list-style: none; display: grid; gap: 4px; margin-top: 24px; }
.link-list a { display: inline-flex; align-items: center; min-height: 44px; }
