/* jaryah.app · built from the approved board (round 4). System font only: Thmanyah's licence forbids serving it. */
:root { --bg: #080809; --fg: #FFFFFF; --grey: #A8A8AD; --dim: #8F8F94; --line: #141416; --edge: #1C1C1E; --card: #0F0F11; --frame: #141416; --heat: radial-gradient(150% 112% at 50% 106%, #FCC33A 0%, #FEA102 6%, #FE6800 17%, #EA1227 38%, #D01030 58%, #8E0D4A 78%, #4E0A5C 92%, #2A0840 100%); }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); color: var(--fg); color-scheme: dark; -webkit-text-size-adjust: 100%; }
body { background: var(--bg); font-family: -apple-system, system-ui, "SF Arabic", "Geeza Pro", "Segoe UI", Tahoma, sans-serif; line-height: 1.6; overflow-x: hidden; }
a { color: inherit; }
a.u { text-decoration: underline; text-underline-offset: 3px; }
.g { display: block; flex: none; }
.wrap { max-width: 1000px; margin: 0 auto; padding: 0 24px; }
:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 3px; border-radius: 6px; }

.bar { display: flex; align-items: center; justify-content: space-between; max-width: 1160px; margin: 0 auto; padding: max(20px, env(safe-area-inset-top)) 24px 12px; position: relative; z-index: 2; }
.bar .home { display: block; }
.wm-bar { height: 24px; width: auto; display: block; }
.bar nav { display: flex; gap: 18px; }
.bar nav a { font-size: 14px; font-weight: 700; color: var(--grey); text-decoration: none; }
.bar nav a[aria-current] { color: var(--fg); }

.heat { position: relative; overflow: hidden; isolation: isolate; }
.heat::before { content: ""; position: absolute; inset: auto 0 0 0; height: 62%; background: var(--heat); opacity: 0.75; z-index: -1;
  -webkit-mask-image: linear-gradient(0deg, #000 0%, transparent 100%); mask-image: linear-gradient(0deg, #000 0%, transparent 100%); }

.hero { padding: 18px 0 0; }
.hero-in { max-width: 1160px; margin: 0 auto; padding: 0 24px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; }
.hero-txt { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.wm-hero { height: 64px; width: auto; display: block; }
.hero h1 { font-size: 24px; line-height: 1.3; }
.hero p { color: var(--grey); font-size: 14px; padding: 0 6px; }
.hero p.d { display: none; }
.hero-dev { display: flex; gap: 14px; align-items: flex-end; justify-content: center; }
.hero-dev .watch { --w: 92px !important; }
.hero-dev .phone { --w: 170px !important; }

.badge { display: inline-flex; align-items: center; height: 48px; padding: 0 20px; border-radius: 12px; background: #FFFFFF; color: #120F0F; font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap; }

.dev { flex: none; width: calc(var(--w) + 2 * var(--b)); padding: var(--b); border-radius: calc(var(--r) + var(--b)); background: var(--frame); box-shadow: 0 0 0 1px #2A2A2D, 0 30px 60px rgba(0,0,0,0.7); }
.dev img { display: block; width: var(--w); height: auto; border-radius: var(--r); }
.dev.phone { --r: calc(var(--w) * 0.15); --b: max(4px, calc(var(--w) * 0.03)); }
.dev.watch { --r: calc(var(--w) * 0.24); --b: max(5px, calc(var(--w) * 0.06)); }

.facts { list-style: none; display: flex; gap: 10px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.facts li { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 14px; line-height: 1.4; }
.ic { width: 44px; height: 44px; border-radius: 50%; background: var(--edge); display: flex; align-items: center; justify-content: center; flex: none; }

.feat { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; padding-top: 48px; }
.feat h2 { font-size: 24px; line-height: 1.3; }
.feat p { color: var(--grey); font-size: 14px; margin-top: 8px; }
.feat-dev { display: flex; gap: 14px; align-items: center; justify-content: center; }
.feat-dev .phone { --w: 190px !important; }
.feat-dev .phone:nth-child(2) { --w: 160px !important; }
.feat-dev .watch { --w: 100px !important; }

.promise { margin-top: 48px; border-radius: 24px; background: var(--card); box-shadow: 0 0 0 1px var(--edge); padding: 20px; display: flex; gap: 14px; align-items: flex-start; text-decoration: none; }
.promise > span:last-child { display: flex; flex-direction: column; gap: 4px; }
.promise b { font-size: 18px; }
.promise .g2 { font-size: 14px; color: var(--grey); }
.promise .more { font-size: 14px; font-weight: 700; padding-top: 4px; }

.wm-cta { height: 48px; width: auto; display: block; }

footer { display: flex; flex-direction: column; gap: 6px; align-items: center; padding: 18px 24px max(28px, env(safe-area-inset-bottom)); font-size: 12px; color: var(--dim); text-align: center; }
footer nav { display: flex; gap: 14px; }
footer nav a { color: var(--grey); font-weight: 700; text-decoration: none; }
footer .u { color: #FFFFFF; }

.doc { max-width: 680px; padding-top: 14px; padding-bottom: 30px; }
.doc h1 { font-size: 28px; line-height: 1.3; }
.upd { font-size: 12px; color: var(--dim); margin: 2px 0 6px; }
.doc section { padding-top: 16px; }
.doc section h2 { font-size: 16px; }
.doc section p { font-size: 14px; color: #D6D6DA; line-height: 1.75; margin-top: 4px; }

.mail { margin-top: 14px; border-radius: 22px; background: #121214; box-shadow: 0 0 0 1px var(--edge); padding: 18px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.mail p { font-size: 15px; color: var(--grey); }
.btn { height: 48px; padding: 0 20px; border-radius: 24px; background: #FFFFFF; color: #120F0F; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; text-decoration: none; max-width: 100%; }
.faq-h { font-size: 16px; padding-top: 20px; }
.faq { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
details { border-radius: 18px; background: var(--card); box-shadow: 0 0 0 1px var(--edge); padding: 14px 16px; }
summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; cursor: pointer; list-style: none; font-size: 15px; color: var(--fg); }
summary::-webkit-details-marker { display: none; }
summary .g { color: var(--grey); transition: transform 0.2s; }
details[open] summary .g { transform: rotate(180deg); }
details p { font-size: 14px; color: var(--grey); margin-top: 6px; }

@media (min-width: 900px) {
  .bar { padding: 28px 56px 12px; }
  .hero { padding: 0; }
  .hero-in { flex-direction: row; justify-content: space-between; align-items: center; text-align: start; min-height: 700px; padding: 0 96px 60px; gap: 40px; }
  .hero-txt { align-items: flex-start; gap: 20px; max-width: 520px; }
  .wm-hero { height: 110px; }
  .hero h1 { font-size: 44px; }
  .hero p { font-size: 19px; padding: 0; }
  .hero p.m { display: none; } .hero p.d { display: block; }
  .hero-dev { gap: 26px; }
  .hero-dev .watch { --w: 150px !important; }
  .hero-dev .phone { --w: 270px !important; }
  .badge { height: 56px; font-size: 17px; padding: 0 24px; }
  .wrap { max-width: 1160px; }
  .facts { padding: 33px 0; gap: 15px; }
  .facts li { flex-direction: row; justify-content: center; gap: 12px; font-size: 21px; }
  .facts .ic { width: 66px; height: 66px; }
  .facts .ic .g { width: 33px; height: 33px; }
  .feat { flex-direction: row; justify-content: space-between; text-align: start; min-height: 700px; padding: 0 60px; border-top: 1px solid var(--line); }
  .feat:nth-of-type(even) .feat-dev { order: -1; }
  .feat-txt { max-width: 460px; }
  .feat h2 { font-size: 44px; line-height: 1.25; }
  .feat p { font-size: 20px; margin-top: 14px; }
  .feat-dev { gap: 26px; }
  .feat-dev .phone { --w: 270px !important; }
  .feat-dev .phone:nth-child(2) { --w: 240px !important; }
  .feat-dev .watch { --w: 150px !important; }
  .promise { margin: 60px 100px 0; padding: 30px; gap: 21px; border-radius: 36px; }
  .promise .ic { width: 66px; height: 66px; }
  .promise b { font-size: 27px; } .promise .g2, .promise .more { font-size: 21px; }
  .wm-cta { height: 80px; }
  footer { font-size: 15px; gap: 8px; }
  .doc { padding-top: 40px; }
  .doc h1 { font-size: 40px; }
  .doc section h2 { font-size: 19px; } .doc section p { font-size: 16px; }
  details p, .mail p { font-size: 16px; } summary { font-size: 17px; }
}
.t { display: block; width: calc(var(--fw) * var(--em)); max-width: 100%; line-height: 0; }
.t svg { display: block; width: 100%; height: auto; }
.doc h1 { line-height: 0; padding-top: 6px; }
@media (min-width: 900px) { .t { width: calc(var(--fw) * var(--emd)); } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
