/* Orab (عرب) website. Brand: Sky identity — Sky blue, white cards, Tajawal + Poppins.
   No external requests. Sizes follow the app spec (points at 390 wide), scaled up for wide screens. */

/* Arabic: Tajawal. */
@font-face { font-family: Tajawal; font-style: normal; font-display: swap; font-weight: 500; src: url(fonts/tajawal-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: Tajawal; font-style: normal; font-display: swap; font-weight: 700; src: url(fonts/tajawal-arabic-700-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: Tajawal; font-style: normal; font-display: swap; font-weight: 800; src: url(fonts/tajawal-arabic-800-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: Tajawal; font-style: normal; font-display: swap; font-weight: 900; src: url(fonts/tajawal-arabic-900-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; }
/* Tajawal's own Latin: only spaces and punctuation inside Arabic text end up here. */
@font-face { font-family: Tajawal; font-style: normal; font-display: swap; font-weight: 500; src: url(fonts/tajawal-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+2000-206F, U+20AC, U+2122, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Tajawal; font-style: normal; font-display: swap; font-weight: 700; src: url(fonts/tajawal-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Tajawal; font-style: normal; font-display: swap; font-weight: 800; src: url(fonts/tajawal-latin-800-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Tajawal; font-style: normal; font-display: swap; font-weight: 900; src: url(fonts/tajawal-latin-900-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215, U+FEFF, U+FFFD; }

/* English and numbers: Poppins at 94% of the Arabic size.
   "Poppins AN" covers letters and digits only, so Arabic text keeps Tajawal's spaces and punctuation.
   "Poppins" covers all of Latin, for runs that are wholly English (lang="en", e-mail addresses). */
@font-face { font-family: "Poppins AN"; font-style: normal; font-display: swap; font-weight: 500; size-adjust: 94%; src: url(fonts/poppins-latin-500-normal.woff2) format("woff2"); unicode-range: U+0030-0039, U+0041-005A, U+0061-007A, U+00C0-00FF; }
@font-face { font-family: "Poppins AN"; font-style: normal; font-display: swap; font-weight: 700; size-adjust: 94%; src: url(fonts/poppins-latin-700-normal.woff2) format("woff2"); unicode-range: U+0030-0039, U+0041-005A, U+0061-007A, U+00C0-00FF; }
@font-face { font-family: "Poppins AN"; font-style: normal; font-display: swap; font-weight: 800; size-adjust: 94%; src: url(fonts/poppins-latin-800-normal.woff2) format("woff2"); unicode-range: U+0030-0039, U+0041-005A, U+0061-007A, U+00C0-00FF; }
@font-face { font-family: "Poppins AN"; font-style: normal; font-display: swap; font-weight: 900; size-adjust: 94%; src: url(fonts/poppins-latin-900-normal.woff2) format("woff2"); unicode-range: U+0030-0039, U+0041-005A, U+0061-007A, U+00C0-00FF; }
@font-face { font-family: Poppins; font-style: normal; font-display: swap; font-weight: 500; size-adjust: 94%; src: url(fonts/poppins-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+2000-206F, U+20AC, U+2122, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Poppins; font-style: normal; font-display: swap; font-weight: 700; size-adjust: 94%; src: url(fonts/poppins-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Poppins; font-style: normal; font-display: swap; font-weight: 800; size-adjust: 94%; src: url(fonts/poppins-latin-800-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Poppins; font-style: normal; font-display: swap; font-weight: 900; size-adjust: 94%; src: url(fonts/poppins-latin-900-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* Sky blues */
  --sky: #3466A9;
  --sky-light: #4A80BE;
  --sky-mid: #2E5BA5;
  --sky-deep: #21419B;
  --sky-text: #1D3D94;
  --mark: #63ADDF;
  --focus: #B9E2FF;
  --ring: #A9D5F8;
  --shade: #172F78;
  /* Text */
  --ink: #15244A;
  --slate: #5E6E8C;
  --faded: #9AA7BF;
  --on-blue: #FFFFFF;
  --on-blue-2: rgba(255, 255, 255, .9);
  /* Surfaces */
  --card: #FFFFFF;
  --ice: #EEF4FC;
  --ice-2: #DCE8F8;
  --track: #EAF0F9;
  --track-line: #DBE5F3;
  --divider: #E6EDF7;
  --chip: #EAF1FB;
  /* States */
  --green: #27B872;
  --green-bg: #E8F8EF;
  --green-line: #C4EBD5;
  --green-text: #12794A;
  --amber: #F2B33D;
  /* Glass on blue (secondary button recipe) */
  --glass: rgba(255, 255, 255, .13);
  --glass-line: rgba(255, 255, 255, .44);
  /* Shadows */
  --shadow-card: 0 12px 28px rgba(14, 34, 96, .24);
  --shadow-button: 0 12px 26px rgba(12, 30, 88, .30);
  /* Selected gradient: check mark, toggle, chosen option */
  --selected: linear-gradient(180deg, #5B95D8, #2E5BA5);

  --font: "Poppins AN", Tajawal, "Segoe UI", Tahoma, "Noto Sans Arabic", sans-serif;
  --font-en: Poppins, Tajawal, "Segoe UI", Arial, sans-serif;
  --wrap: 1080px;
  --pad: clamp(20px, 5vw, 56px);
  --gap: clamp(12px, 1.6vw, 20px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; background: #2A54A2; overflow-x: clip; }
body {
  margin: 0;
  color: var(--on-blue);
  font: 500 18px/1.8 var(--font);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
/* The app background, pinned to the viewport: 172° Sky gradient, a white glow in the
   top corner and a navy shade in the bottom corner. */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 -120px;
  z-index: -1;
  background:
    radial-gradient(90vmax 70vmax at 0% 0%, rgba(255, 255, 255, .20), rgba(255, 255, 255, 0) 62%),
    radial-gradient(90vmax 70vmax at 100% 100%, rgba(23, 47, 120, .26), rgba(23, 47, 120, 0) 62%),
    linear-gradient(172deg, #4A80BE 0%, #4077B5 24%, #3466A9 52%, #2E5BA5 78%, #2A54A2 100%);
}
main { flex: 1; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2.5px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--focus); color: var(--ink); }
[lang="en"], .ltr, .contact { font-family: var(--font-en); }
.ltr { direction: ltr; unicode-bidi: isolate; }

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

.skip { position: absolute; inset-inline-start: 12px; top: -80px; background: #fff; color: var(--sky-text); padding: 8px 16px; border-radius: 999px; font-weight: 800; text-decoration: none; z-index: 10; box-shadow: var(--shadow-button); }
.skip:focus { top: 12px; }

.ico { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }

/* ---- header ---------------------------------------------------------------- */
.top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 30px; line-height: 1; color: #fff; text-decoration: none; }
.brand img { width: 40px; height: auto; filter: drop-shadow(0 4px 8px rgba(14, 34, 96, .22)); }
.top nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.top nav a { color: #fff; text-decoration: none; font-size: 16px; font-weight: 700; padding: 6px 14px; border-radius: 999px; border: 1.5px solid transparent; }
.top nav a:hover { background: var(--glass); border-color: var(--glass-line); }

/* ---- shared pieces ------------------------------------------------------------- */
/* Status pill: 30 high. On blue it is glass (the trial pill); inside cards it is green. */
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 30px; padding: 2px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; line-height: 1.4; text-decoration: none; background: var(--glass); border: 1.5px solid var(--glass-line); color: #fff; }
.pill::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--amber); flex: none; }
a.pill:hover { background: rgba(255, 255, 255, .22); }
.pill.ok { background: var(--green-bg); border-color: var(--green-line); color: var(--green-text); }
.pill.ok::before { background: var(--green); box-shadow: 0 0 0 4px rgba(39, 184, 114, .22); }

/* Buttons: 54 high, fully round. */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 8px 30px; border-radius: 999px; background: #fff; color: var(--sky-text); font-weight: 800; font-size: 18px; line-height: 1.3; text-decoration: none; box-shadow: var(--shadow-button); transition: transform .15s ease; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button.ghost { background: var(--glass); border: 1.5px solid var(--glass-line); color: #fff; box-shadow: none; }
.button.ghost:hover { background: rgba(255, 255, 255, .22); }
/* Inside white cards: the «العب» button for the main action, a quiet one for the rest. */
.button.play { background: linear-gradient(180deg, #6AA6EA 0%, #4481C9 52%, #3A6FB8 100%); color: #fff; border: 2px solid #fff; box-shadow: 0 0 0 1.5px var(--ring), 0 10px 22px rgba(14, 34, 96, .26); }
.button.quiet { background: var(--track); border: 1.5px solid var(--track-line); color: var(--sky-mid); box-shadow: none; }
.button.quiet:hover { border-color: var(--ring); }

/* White cards: 24 radius, 28 for the device card, 22 for status cards. */
.card { background: var(--card); color: var(--ink); border-radius: 24px; box-shadow: var(--shadow-card); }
.card :focus-visible { outline-color: var(--sky-mid); }
.card a { color: var(--sky-mid); }

/* Icon square: 46, radius 15, icon 27. */
.tile { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 15px; background: linear-gradient(160deg, var(--ice), var(--ice-2)); color: var(--sky-mid); flex: none; }
.tile svg { width: 27px; height: 27px; fill: currentColor; }

/* Sahab in a circle. On blue the circle is glass; inside a card it is solid Sky. */
.sahab { position: relative; width: var(--d, 184px); height: var(--d, 184px); border-radius: 50%; flex: none; background: radial-gradient(circle at 30% 22%, rgba(255, 255, 255, .30), rgba(255, 255, 255, .10) 70%); border: 1.5px solid var(--glass-line); }
.sahab img { position: absolute; left: 50%; top: 50%; height: var(--h, 96%); width: auto; max-width: none; transform: translate(calc(-50% + var(--x, 0%)), calc(-50% + var(--y, 0%))); filter: drop-shadow(0 14px 14px rgba(14, 34, 96, .30)); }
.sahab.solid { background: linear-gradient(165deg, #5B95D8, #2E5BA5 55%, #21419B); border: 0; overflow: hidden; box-shadow: 0 10px 22px rgba(14, 34, 96, .26); --h: 122%; --y: 15%; }
.sahab.solid img { filter: none; }
.sahab.gaming { --h: 104%; --x: 1%; }
.sahab.pad { --h: 98%; --x: 4%; }
.sahab.think { --h: 114%; --y: -5%; }

/* ---- hero ------------------------------------------------------------------ */
.hero { padding-block: clamp(12px, 2.4vw, 32px) clamp(48px, 7vw, 88px); }
.hero-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(24px, 5vw, 72px); }
.hero-top .sahab { --d: clamp(250px, 31vw, 400px); margin-inline-end: clamp(0px, 3vw, 44px); }
.hero h1 { margin: 16px 0 0; font-weight: 900; font-size: clamp(50px, 8vw, 100px); line-height: 1.2; letter-spacing: 0; text-shadow: 0 6px 22px rgba(14, 34, 96, .22); }
.hero .lead { margin: clamp(10px, 1.6vw, 18px) 0 0; max-width: 31em; font-size: clamp(18px, 1.9vw, 22px); line-height: 1.75; color: var(--on-blue-2); }
.hero .lead strong { color: #fff; font-weight: 800; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(22px, 3vw, 34px); }

/* ---- sections ---------------------------------------------------------------- */
.band { padding-block: clamp(36px, 6vw, 72px); }
.band h2 { margin: 0 0 clamp(18px, 2.6vw, 30px); font-weight: 900; font-size: clamp(28px, 4.2vw, 46px); line-height: 1.35; max-width: 17em; }
.band h2.with-ico { display: flex; align-items: center; gap: 14px; }
.band h2.with-ico .ico { width: .95em; height: .95em; opacity: .92; }
.band p { margin: 0 0 1em; max-width: 36em; }
.band p:last-child { margin-bottom: 0; }
.muted { color: var(--on-blue-2); font-size: .94em; }

/* How it works: the example clip beside three cards, numbered like the code cells. */
.how { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: center; }
.clip { width: clamp(260px, 28vw, 340px); aspect-ratio: 9 / 16; border-radius: 28px; overflow: hidden; background: var(--sky-mid); border: 1.5px solid var(--glass-line); box-shadow: var(--shadow-card); }
.clip video { display: block; width: 100%; height: 100%; object-fit: cover; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px 16px; align-items: start; padding: 20px 22px 22px; }
.steps li::after { content: counter(step); display: grid; place-items: center; width: 35px; height: 46px; border-radius: 13px; background: var(--track); border: 1.5px solid var(--track-line); color: var(--sky-mid); font: 700 25px/1 var(--font-en); }
.steps h3 { margin: 6px 0 4px; font-size: 20px; font-weight: 800; line-height: 1.45; }
.steps p { margin: 0; color: var(--slate); font-size: 16px; line-height: 1.75; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 5vw, 72px); align-items: center; }
.split .sahab { --d: clamp(200px, 24vw, 300px); }
.split h2 { margin-bottom: clamp(12px, 1.6vw, 18px); }

/* What leaves the phone and what stays: two cards, a row per fact. */
.ledger { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.ledger .card { padding: 22px 24px 12px; }
.ledger .head { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.ledger h3 { margin: 0; font-size: 21px; font-weight: 800; line-height: 1.4; }
.ledger ul { margin: 0; padding: 0; list-style: none; }
.ledger li { position: relative; padding: 13px 0; padding-inline-start: 24px; border-top: 1px solid var(--divider); color: var(--slate); font-size: 16.5px; line-height: 1.75; }
.ledger li::before { content: ""; position: absolute; inset-inline-start: 2px; top: 1.45em; width: 10px; height: 10px; border-radius: 50%; background: var(--amber); }
.ledger .stays li::before { background: var(--green); box-shadow: 0 0 0 4px rgba(39, 184, 114, .18); }
.band .after-ledger { margin-top: clamp(22px, 3vw, 34px); }

/* Download: the device card, with a QR code for visitors on a computer. */
.get { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(20px, 4vw, 56px); border-radius: 28px; padding: clamp(22px, 3.4vw, 40px); }
.get .head { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.get h2 { margin: 0; font-size: clamp(26px, 3.4vw, 38px); }
.get p { color: var(--slate); font-size: 17px; }
.get-steps { list-style: none; margin: 0 0 22px; padding: 0; max-width: 36em; counter-reset: get; }
.get-steps li { counter-increment: get; display: flex; align-items: baseline; gap: 14px; padding: 11px 0; border-top: 1px solid var(--divider); font-size: 17px; line-height: 1.7; }
.get-steps li:last-child { border-bottom: 1px solid var(--divider); }
.get-steps li::before { content: counter(get); display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--chip); color: var(--sky-mid); font: 700 14px/1 var(--font-en); }
.qr { width: 196px; padding: 16px 16px 14px; border-radius: 22px; background: linear-gradient(160deg, var(--ice), var(--ice-2)); text-align: center; }
.qr img { width: 100%; height: auto; border-radius: 12px; }
.qr p { margin: 10px 0 0; color: var(--slate); font-size: 14px; line-height: 1.6; }

/* Invite code and contact. */
.invite { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(20px, 4vw, 48px); border-radius: 28px; padding: clamp(22px, 3.4vw, 40px); }
.invite .sahab { --d: clamp(132px, 17vw, 200px); }
.invite h2 { margin: 0 0 8px; font-size: clamp(26px, 3.4vw, 38px); }
.invite p { color: var(--slate); font-size: 17px; }
.invite .button { margin-top: 6px; }
.contact { direction: ltr; unicode-bidi: isolate; overflow-wrap: anywhere; }

/* ---- footer ------------------------------------------------------------------ */
.foot { margin-top: clamp(24px, 4vw, 48px); padding-block: 32px 40px; background: rgba(23, 47, 120, .26); border-top: 1px solid rgba(255, 255, 255, .16); color: var(--on-blue-2); font-size: 14.5px; line-height: 1.8; }
.foot .row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; margin-bottom: 18px; }
.foot .brand { font-size: 24px; }
.foot .brand img { width: 34px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.foot nav a { color: #fff; text-decoration: none; font-weight: 700; }
.foot nav a:hover { text-decoration: underline; }
.foot p { margin: 0 0 6px; max-width: 60em; }
.foot .end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; margin-top: 20px; }
.foot .end p { margin: 0; }
.foot .sky { width: 112px; height: auto; }

/* ---- document pages (privacy, 404) --------------------------------------------- */
.doc { padding-block: clamp(20px, 4vw, 44px) clamp(48px, 7vw, 88px); }
.doc-head, .prose { max-width: 880px; }
.doc-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 32px; margin-bottom: clamp(22px, 3.4vw, 36px); }
.doc h1 { margin: 0; font-weight: 900; font-size: clamp(36px, 6vw, 66px); line-height: 1.3; text-shadow: 0 6px 22px rgba(14, 34, 96, .22); }
.doc .date { margin: 6px 0 0; color: var(--on-blue-2); font-size: 16px; }
/* Segmented buttons */
.langs { display: inline-flex; padding: 4px; border: 1.5px solid var(--track-line); border-radius: 999px; background: var(--track); gap: 4px; box-shadow: var(--shadow-card); }
.langs button { appearance: none; border: 0; background: none; color: var(--slate); font: 800 16px/1 var(--font); min-height: 42px; padding: 0 22px; border-radius: 999px; cursor: pointer; }
.langs button[lang="en"] { font-family: var(--font-en); }
.langs button:hover { color: var(--ink); }
.langs button:focus-visible { outline-color: var(--sky-mid); outline-offset: 1px; border-radius: 999px; }
.langs button[aria-pressed="true"] { background: var(--selected); color: #fff; }
html:not(.js) .langs { display: none; }

/* The policy text sits on one white card. */
.prose { background: var(--card); color: var(--ink); border-radius: 24px; box-shadow: var(--shadow-card); padding: clamp(20px, 4vw, 48px); font-size: 17.5px; }
.prose[lang="en"] { direction: ltr; text-align: left; line-height: 1.7; font-size: 17px; }
.prose :focus-visible { outline-color: var(--sky-mid); }
/* Without JavaScript both languages are shown, one after the other. */
html:not(.js) .prose + .prose { margin-top: 28px; }
.prose h2 { margin: 2em 0 .5em; font-size: clamp(22px, 2.8vw, 27px); font-weight: 900; line-height: 1.45; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.5em 0 .4em; font-size: 19px; font-weight: 800; }
.prose p, .prose ul { margin: 0 0 1em; }
.prose ul { padding-inline-start: 1.25em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--sky-mid); }
.prose a { color: var(--sky-mid); font-weight: 700; }
.prose strong { font-weight: 800; }
.prose .summary { background: linear-gradient(160deg, var(--ice), var(--ice-2)); border-radius: 22px; padding: 20px 24px 22px; margin-bottom: 2em; }
.prose .summary h2 { margin: 0 0 .5em; font-size: 21px; color: var(--sky-mid); }
.prose .summary ul { margin-bottom: 0; }
.prose code { direction: ltr; unicode-bidi: isolate; font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .86em; background: var(--chip); color: var(--sky-text); padding: .12em .45em; border-radius: 7px; }

.table-wrap { overflow-x: auto; margin: 0 0 1.4em; border: 1.5px solid var(--divider); border-radius: 16px; }
.table-wrap:focus-visible { outline-offset: 0; border-radius: 16px; }
table { border-collapse: collapse; width: 100%; min-width: 620px; font-size: 15.5px; line-height: 1.75; }
th, td { text-align: start; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--divider); }
thead th { background: var(--ice); font-weight: 800; color: var(--ink); white-space: nowrap; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
tbody th { font-weight: 800; width: 30%; }
td { color: var(--slate); }

/* Language switch: with JavaScript one language is shown; without it, both. */
html.js[data-lang="ar"] [data-l="en"], html.js[data-lang="en"] [data-l="ar"] { display: none; }

.lost { display: grid; justify-items: center; text-align: center; padding-block: clamp(28px, 6vw, 72px) clamp(56px, 9vw, 110px); }
.lost .sahab { --d: clamp(184px, 26vw, 250px); margin-bottom: 30px; }
.lost h1 { margin: 0 0 8px; font-weight: 900; font-size: clamp(34px, 6vw, 62px); line-height: 1.3; }
.lost p { margin: 0 0 28px; color: var(--on-blue-2); max-width: 30em; }
.lost .line { display: inline-block; background: #000; color: #fff; font-weight: 700; font-size: clamp(17px, 2.4vw, 24px); padding: .2em .8em .3em; border-radius: .25em; margin-bottom: 26px; }

/* ---- small screens --------------------------------------------------------------- */
@media (max-width: 820px) {
  body { font-size: 17px; }
  .hero-top { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 22px; }
  .hero-top .sahab { order: -1; --d: min(62vw, 250px); margin: 6px 0 0; }
  .hero .lead { margin-inline: auto; }
  .actions { justify-content: center; }
  .how { grid-template-columns: 1fr; justify-items: center; gap: 22px; }
  .clip { width: min(100%, 340px); }
  .steps { width: 100%; }
  .split { grid-template-columns: 1fr; justify-items: start; }
  .split .sahab { --d: 184px; order: -1; }
  .get { grid-template-columns: 1fr; }
  .qr { display: none; }
  .ledger { grid-template-columns: 1fr; gap: 12px; }
  .top { padding-block: 14px; }
  .brand { font-size: 26px; }
  .top nav a { font-size: 15px; padding: 6px 10px; }
}
@media (max-width: 560px) {
  .actions .button { flex: 1 1 100%; }
  .steps li { grid-template-columns: auto minmax(0, 1fr); }
  .steps li::after { grid-area: 1 / 2; justify-self: end; }
  .steps .txt { grid-column: 1 / -1; }
  .steps h3 { margin-top: 0; }
  .invite { grid-template-columns: 1fr; justify-items: start; }
  .invite .button, .get .button { width: 100%; padding-inline: 16px; }
  .invite .button { font-size: 16px; }
  .after-ledger .button { width: 100%; }
  .foot .end { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 430px) {
  .top nav .opt { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation: none !important; }
}

@media print {
  html, body { background: #fff; color: #000; }
  body::before { display: none; }
  .top nav, .langs, .foot nav, .skip, .sahab, .foot .sky, .clip { display: none; }
  .brand, .doc h1, .doc .date, .foot, .foot p { color: #000; text-shadow: none; }
  .foot { background: none; }
  .prose, .card { box-shadow: none; padding: 0; }
  td { color: #000; }
  a { color: #000; }
}
