/* Forma website. Dark surfaces, Sora ExtraBold uppercase headings, Inter body.
   Lime (#C7FF24) is for main buttons and highlight words only. */
@font-face { font-family: "Sora"; font-weight: 800; font-style: normal; font-display: swap; src: url("/fonts/Sora-800-latin.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400 600; font-style: normal; font-display: swap; src: url("/fonts/Inter-400-latin.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans Arabic"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/IBMPlexSansArabic-400-arabic.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/IBMPlexSansArabic-500-arabic.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/IBMPlexSansArabic-700-arabic.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F; }

:root {
  --bg: #0B0D0B; --card: #171A17; --border: #272B26; --text: #F4F3EE; --muted: #979B94; --lime: #C7FF24;
  --r: 22px;
  --head: "Sora", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
html[lang="ar"] body, html[data-lang="ar"] body { font-family: "IBM Plex Sans Arabic", "Inter", system-ui, sans-serif; line-height: 1.85; }
a { color: var(--text); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---- nav ---- */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; }
.brand { font-family: var(--head); font-weight: 800; font-size: 26px; letter-spacing: .04em; text-decoration: none; color: var(--text); line-height: 1; }
.nav-links { display: flex; align-items: center; gap: 8px 22px; }
.nav-links a.link { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav-links a.link:hover { color: var(--text); }
.nav-links a.link[aria-current="page"] { color: var(--text); }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-family: var(--head); font-weight: 800; text-transform: uppercase; letter-spacing: .03em; font-size: 14px; line-height: 1; padding: 0 22px; min-height: 48px; border-radius: 16px; border: 1px solid transparent; cursor: pointer; text-decoration: none; }
html[lang="ar"] .btn, html[data-lang="ar"] .btn { font-family: "IBM Plex Sans Arabic", sans-serif; font-weight: 700; text-transform: none; letter-spacing: 0; font-size: 16px; }
.btn-lime { background: var(--lime); color: #0B0D0B; }
.btn-lime:hover { filter: brightness(1.06); }
.btn-dark { background: var(--card); color: var(--text); border-color: var(--border); }
.btn-dark:hover { border-color: #3a3f38; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 13px; border-radius: 14px; }
.langs { display: flex; }
.langs button { font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; color: var(--muted); background: transparent; border: 1px solid var(--border); padding: 0 12px; min-height: 40px; }
.langs button:first-child { border-radius: 14px 0 0 14px; } .langs button:last-child { border-radius: 0 14px 14px 0; border-inline-start: 0; }
html[dir="rtl"] .langs button:first-child { border-radius: 0 14px 14px 0; } html[dir="rtl"] .langs button:last-child { border-radius: 14px 0 0 14px; }
.langs button[aria-pressed="true"] { background: var(--card); color: var(--text); }

/* ---- landing ---- */
.label { font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; }
html[lang="ar"] .label { letter-spacing: 0; font-size: 15px; }
.hl { color: var(--lime); }
h1, h2, h3 { font-family: var(--head); font-weight: 800; text-transform: uppercase; line-height: 1.04; margin: 0; letter-spacing: -.01em; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[data-lang="ar"] h1, html[data-lang="ar"] h2, html[data-lang="ar"] h3 { font-family: "IBM Plex Sans Arabic", sans-serif; font-weight: 700; text-transform: none; letter-spacing: 0; line-height: 1.3; }
.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding: 48px 0 72px; }
.hero h1 { font-size: clamp(46px, 7.4vw, 92px); margin-bottom: 26px; }
html[lang="ar"] .hero h1 { font-size: clamp(44px, 7vw, 84px); line-height: 1.2; }
.hero h1 span { display: block; }
.lead { text-wrap: pretty; font-size: 19px; color: var(--text); max-width: 33em; margin: 0 0 30px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.fine { color: var(--muted); font-size: 14px; margin: 0; }

.phone-wrap { display: flex; justify-content: center; }
.phone { width: min(300px, 78vw); aspect-ratio: 9 / 19; background: #050605; border: 1px solid var(--border); border-radius: 46px; padding: 12px; box-shadow: 0 0 0 6px #111411; position: relative; }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; width: 84px; height: 24px; background: #000; border-radius: 14px; transform: translateX(-50%); z-index: 1; }
.screen { height: 100%; border-radius: 36px; background: var(--card); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; color: var(--muted); font-size: 14px; }
.screen img { width: 84px; height: 84px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-bottom: 72px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r); padding: 30px 28px 32px; }
.card h3 { font-size: 24px; margin-bottom: 14px; }
.card p { margin: 0; color: var(--muted); }
.card .num { font-family: var(--head); font-weight: 800; color: var(--lime); font-size: 14px; letter-spacing: .1em; display: block; margin-bottom: 40px; }

.trainers { background: var(--card); border: 1px solid var(--border); border-radius: 28px; padding: clamp(32px, 6vw, 64px); margin-bottom: 72px; }
.trainers h2 { font-size: clamp(32px, 5vw, 56px); max-width: 15em; margin-bottom: 20px; }
.trainers p.t { color: var(--muted); font-size: 19px; max-width: 34em; margin: 0 0 30px; }

footer.site { border-top: 1px solid var(--border); padding: 28px 0 44px; display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; color: var(--muted); font-size: 14px; }
footer.site .brand { font-size: 20px; margin-inline-end: auto; }
footer.site a { color: var(--muted); text-decoration: none; }
footer.site a:hover { color: var(--text); }

/* ---- waitlist dialog ---- */
dialog { background: var(--card); color: var(--text); border: 1px solid var(--border); border-radius: 26px; padding: 30px 26px 26px; width: min(440px, calc(100vw - 32px)); }
dialog::backdrop { background: rgba(0, 0, 0, .72); }
dialog h2 { font-size: 26px; margin-bottom: 8px; }
dialog p.sub { color: var(--muted); font-size: 15px; margin: 0 0 20px; }
.close { position: absolute; top: 14px; inset-inline-end: 14px; background: transparent; border: 0; color: var(--muted); font-size: 26px; line-height: 1; cursor: pointer; width: 40px; height: 40px; border-radius: 12px; }
.field { display: block; margin-bottom: 14px; }
.field span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.field input { width: 100%; font: inherit; font-size: 16px; color: var(--text); background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: 0 14px; min-height: 48px; }
.field input:focus { border-color: var(--lime); outline: none; }
.check { display: flex; align-items: center; gap: 10px; margin: 6px 0 20px; font-size: 15px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--lime); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.msg { min-height: 1.4em; font-size: 14px; margin: 12px 0 0; color: var(--muted); }
.msg.err { color: #FF7777; }
dialog form .btn { width: 100%; }
.done { text-align: center; padding: 18px 0 6px; }
.done h2 { margin-bottom: 10px; }

/* ---- legal pages (privacy, support) ---- */
.doc { max-width: 780px; padding-bottom: 24px; }
.doc h1 { font-size: clamp(36px, 6vw, 56px); margin: 18px 0 8px; }
.doc h2 { font-size: 24px; margin: 44px 0 10px; }
.doc h3 { font-family: var(--body); text-transform: none; font-size: 17px; letter-spacing: 0; margin: 22px 0 4px; }
html[data-lang="ar"] .doc h3 { font-family: "IBM Plex Sans Arabic", sans-serif; }
.doc .meta { color: var(--muted); font-size: 15px; margin: 0 0 8px; }
.doc p { margin: 10px 0; } .doc ul { margin: 8px 0; padding-inline-start: 22px; } .doc li { margin: 6px 0; }
.doc a { color: var(--lime); }
.doc strong { font-weight: 600; } html[data-lang="ar"] .doc strong { font-weight: 700; }
.doc .card { padding: 18px 20px; margin: 18px 0; }
.doc .card p { color: var(--text); }
.doc .card p:first-child { margin-top: 0; } .doc .card p:last-child { margin-bottom: 0; }
.rule { display: none; }
.table-scroll { overflow-x: auto; margin: 14px 0; border: 1px solid var(--border); border-radius: 16px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--card); }
th, td { text-align: start; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--border); }
th { font-weight: 600; font-size: 13px; letter-spacing: .06em; color: var(--muted); }
tr:last-child td { border-bottom: 0; }
.doc [data-lang="ar"] { text-align: right; }
html[data-lang="en"] [data-lang="ar"], html[data-lang="ar"] [data-lang="en"] { display: none; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 24px; }
  .cards { grid-template-columns: 1fr; }
  .phone-wrap { order: 2; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .nav { flex-wrap: wrap; }
  .nav-links { width: 100%; justify-content: space-between; }
  .nav .hide-sm { display: none; }
  .lead, .trainers p.t { font-size: 17px; }
  .cta .btn { flex: 1 1 100%; }
}
@media print { .nav, .langs, footer.site { display: none; } body { background: #fff; color: #000; } }
