/* Schoolkit landing — by MasterAds. Plain CSS, no build step. */
:root {
  --teal: #0B6E8A;
  --deep: #073F52;
  --deeper: #052F3D;
  --turq: #1287A8;
  --gold: #D9A93A;
  --gold-d: #B9871D;
  --gold-l: #FFE59A;
  --mint: #CFE9EF;
  --paper: #F4FAFB;
  --ink: #14262D;
  --muted: #4B6069;
  --line: #DCEAEE;
  --white: #fff;
  --radius: 22px;
  --shadow-sm: 0 1px 2px rgba(7, 63, 82, .06), 0 2px 8px rgba(7, 63, 82, .05);
  --shadow: 0 2px 4px rgba(7, 63, 82, .04), 0 12px 32px -8px rgba(7, 63, 82, .16);
  --shadow-lg: 0 40px 80px -24px rgba(5, 47, 61, .45), 0 18px 36px -18px rgba(0, 0, 0, .3);
  --wrap: 1200px;
  --gutter: 20px;
  --font-body: "Tajawal", system-ui, sans-serif;
  --font-head: "Tajawal", system-ui, sans-serif;
  --font-brand: "Sora", "Plus Jakarta Sans", system-ui, sans-serif;
  --header-h: 72px;
  color-scheme: light;
}
html[lang="en"] {
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-head: "Sora", "Plus Jakarta Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
html[lang="en"] body { font-size: 16.5px; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--deep); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--deep); margin: 0 0 .5em; line-height: 1.25; letter-spacing: -.005em; }
html[lang="en"] h1, html[lang="en"] h2 { letter-spacing: -.025em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--deep); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; color: #fff; }
.latin { font-family: var(--font-brand); }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 32px; } }

.icon { width: 1em; height: 1em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
html[dir="rtl"] .flip { transform: scaleX(-1); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--teal); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .7em 1.35em;
  border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.btn:hover { color: var(--fg); transform: translateY(-1px); }
.btn .icon { font-size: 1.15em; }
.btn-gold { --bg: linear-gradient(180deg, #F0C45A, var(--gold)); --fg: #2A1D02; background: linear-gradient(180deg, #F2C860 0%, var(--gold) 100%); box-shadow: 0 10px 24px -10px rgba(217, 169, 58, .8), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn-gold:hover { box-shadow: 0 14px 30px -10px rgba(217, 169, 58, .95), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn-teal { background: var(--teal); box-shadow: 0 10px 24px -12px rgba(11, 110, 138, .8); }
.btn-teal:hover { background: var(--deep); }
.btn-ghost { --fg: #fff; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); }
.btn-outline { --fg: var(--deep); background: #fff; box-shadow: inset 0 0 0 1.5px var(--line), var(--shadow-sm); }
.btn-outline:hover { box-shadow: inset 0 0 0 1.5px var(--teal), var(--shadow-sm); }
.btn-wa { background: #1FAF5A; box-shadow: 0 10px 24px -12px rgba(31, 175, 90, .8); }
.btn-wa:hover { background: #168E48; }
.btn-lg { min-height: 56px; padding-inline: 1.7em; font-size: 1.06rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  transition: background-color .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; flex: none; }
.brand img { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 4px 12px -4px rgba(0, 0, 0, .35); }
.brand b { font-family: var(--font-brand); font-weight: 800; font-size: 1.32rem; letter-spacing: -.02em; line-height: 1; }
.brand small { display: block; font-family: var(--font-brand); font-size: .62rem; font-weight: 600; opacity: .75; letter-spacing: .06em; text-transform: uppercase; margin-top: 3px; }
.nav { display: none; margin-inline-start: auto; }
.nav ul { display: flex; gap: 4px; }
.nav a { display: block; padding: 8px 12px; border-radius: 10px; color: rgba(255, 255, 255, .86); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.nav + .header-actions { margin-inline-start: 0; }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 12px; border-radius: 999px; color: #fff; text-decoration: none; font-weight: 700; font-size: .9rem; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); }
.lang-switch:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.lang-switch .icon { font-size: 1.1em; }
.header-cta { display: none; min-height: 42px; padding: .55em 1.1em; font-size: .95rem; }
.menu-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; font-size: 22px; }
.site-header.scrolled { background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); box-shadow: 0 1px 0 var(--line), 0 8px 24px -16px rgba(7, 63, 82, .3); }
.site-header.scrolled .brand { color: var(--deep); }
.site-header.scrolled .nav a { color: var(--muted); }
.site-header.scrolled .nav a:hover { color: var(--deep); background: var(--paper); }
.site-header.scrolled .lang-switch { color: var(--deep); box-shadow: inset 0 0 0 1.5px var(--line); }
.site-header.scrolled .lang-switch:hover { background: var(--paper); }
.site-header.scrolled .menu-btn { background: var(--paper); color: var(--deep); }
.site-header.solid { background: #fff; box-shadow: 0 1px 0 var(--line); }
.site-header.solid .brand, .site-header.solid .lang-switch { color: var(--deep); }
.site-header.solid .lang-switch { box-shadow: inset 0 0 0 1.5px var(--line); }
.mobile-nav { position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49; background: #fff; box-shadow: 0 24px 48px -16px rgba(7, 63, 82, .35); padding: 12px var(--gutter) 24px; display: none; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
.mobile-nav.open { display: block; }
.mobile-nav a:not(.btn) { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--deep); text-decoration: none; font-weight: 600; }
.mobile-nav .btn { width: 100%; margin-top: 18px; }
@media (min-width: 1080px) {
  .nav { display: block; }
  .menu-btn, .mobile-nav { display: none !important; }
  .header-cta { display: inline-flex; }
}
@media (min-width: 560px) and (max-width: 1079px) { .header-cta { display: inline-flex; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 520px at 85% 10%, rgba(18, 135, 168, .55), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(217, 169, 58, .16), transparent 60%),
    linear-gradient(160deg, #0A5D75 0%, var(--deep) 48%, var(--deeper) 100%);
  padding: calc(var(--header-h) + 40px) 0 0;
}
html[dir="rtl"] .hero { background:
    radial-gradient(900px 520px at 15% 10%, rgba(18, 135, 168, .55), transparent 60%),
    radial-gradient(700px 500px at 100% 100%, rgba(217, 169, 58, .16), transparent 60%),
    linear-gradient(200deg, #0A5D75 0%, var(--deep) 48%, var(--deeper) 100%); }
.hero::before { /* fine grid */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
}
.hero-grid { display: grid; gap: 40px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); font-size: .88rem; font-weight: 600; color: var(--gold-l); }
html[dir="rtl"] .eyebrow { padding: 6px 8px 6px 14px; }
.eyebrow .dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 229, 154, .16); }
.eyebrow .dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-l); box-shadow: 0 0 0 4px rgba(255, 229, 154, .2); }
.hero h1 { color: #fff; font-size: clamp(2.35rem, 7.4vw, 4.1rem); font-weight: 800; line-height: 1.12; margin: 18px 0 18px; }
html[lang="en"] .hero h1 { font-size: clamp(2.3rem, 6.6vw, 3.9rem); line-height: 1.08; }
.hero h1 .hl { color: var(--gold-l); background: linear-gradient(180deg, #FFE9A8, var(--gold)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero .lead { font-size: clamp(1.06rem, 2.3vw, 1.24rem); color: rgba(255, 255, 255, .84); max-width: 36em; margin-bottom: 28px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 26px; font-size: .92rem; color: rgba(255, 255, 255, .74); }
.hero-note li { display: inline-flex; align-items: center; gap: 8px; }
.hero-note .icon { color: var(--gold-l); font-size: 1.05em; }

.hero-visual { position: relative; height: 470px; margin-top: 8px; }
.hero-visual .phone { position: absolute; bottom: -40px; }
.hero-visual .p-main { --w: 236px; left: 50%; transform: translateX(-50%); z-index: 3; bottom: -70px; }
.hero-visual .p-left { --w: 196px; left: 50%; transform: translateX(-118%) rotate(-7deg); z-index: 2; bottom: -96px; opacity: .97; }
.hero-visual .p-right { --w: 196px; left: 50%; transform: translateX(18%) rotate(7deg); z-index: 2; bottom: -96px; opacity: .97; }
.toast {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, .96); color: var(--ink); border-radius: 16px; padding: 10px 14px 10px 10px;
  box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .45); font-size: .82rem; line-height: 1.35; max-width: 230px;
}
html[dir="rtl"] .toast { padding: 10px 10px 10px 14px; }
.toast b { display: block; color: var(--deep); font-size: .86rem; }
.toast .ti { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 18px; color: #fff; background: var(--teal); }
.toast .ti.gold { background: var(--gold); color: #2A1D02; }
.toast-1 { top: 40px; inset-inline-start: 0; }
.toast-2 { top: 170px; inset-inline-end: 0; }
@media (min-width: 640px) {
  .hero-visual { height: 560px; }
  .hero-visual .p-main { --w: 282px; }
  .hero-visual .p-left, .hero-visual .p-right { --w: 232px; }
}
@media (min-width: 1000px) {
  .hero { padding-top: calc(var(--header-h) + 64px); }
  .hero-grid { grid-template-columns: 1.02fr 1fr; gap: 24px; }
  .hero-copy { padding-bottom: 120px; }
  .hero-visual { height: 640px; margin-top: 0; }
  .hero-visual .p-main { --w: 290px; bottom: -40px; }
  .hero-visual .p-left, .hero-visual .p-right { --w: 236px; bottom: -70px; }
  .toast-1 { top: 70px; inset-inline-start: -10px; }
  .toast-2 { top: 250px; inset-inline-end: -14px; }
}
@media (max-width: 400px) {
  .hero-visual .p-left { transform: translateX(-108%) rotate(-7deg); }
  .hero-visual .p-right { transform: translateX(8%) rotate(7deg); }
  .toast { max-width: 200px; font-size: .78rem; }
}

/* ---------- Device frames ---------- */
.phone {
  --w: 260px;
  width: var(--w); flex: none;
  padding: calc(var(--w) * .035);
  border-radius: calc(var(--w) * .16);
  background: linear-gradient(150deg, #2A3B43 0%, #0E1A1F 45%, #1B2A31 100%);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .14), inset 0 0 0 4px #0B1418, var(--shadow-lg);
}
.phone .screen { position: relative; overflow: hidden; border-radius: calc(var(--w) * .125); background: #0B6F8A; }
.phone .sb { height: calc(var(--w) * .085); display: flex; align-items: center; justify-content: space-between; padding-inline: calc(var(--w) * .085); color: #fff; font: 600 calc(var(--w) * .038)/1 var(--font-brand); direction: ltr; }
.phone .sb::before { content: "9:41"; }
.phone .sb::after { content: ""; width: calc(var(--w) * .1); height: calc(var(--w) * .03); border-radius: 3px; background:
  linear-gradient(90deg, #fff 0 70%, rgba(255, 255, 255, .45) 70%); -webkit-mask: linear-gradient(#000 0 0); }
.phone .island { position: absolute; top: calc(var(--w) * .022); left: 50%; transform: translateX(-50%); width: 30%; height: calc(var(--w) * .052); border-radius: 99px; background: #05090B; }
.phone img { width: 100%; aspect-ratio: 600 / 1298; object-fit: cover; object-position: top; background: #EEF7F9; }
.phone.is-dark .screen { background: #0B4E63; }

.laptop { position: relative; width: 100%; }
.laptop .lid { position: relative; background: linear-gradient(180deg, #1E2C33, #0D171B); border-radius: 18px 18px 6px 6px; padding: 2.2% 2.2% 3%; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .1), var(--shadow-lg); }
.laptop .lid::before { content: ""; position: absolute; top: 1%; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #2C3D45; }
.laptop .lid img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 4px; background: #fff; }
.laptop .base { position: relative; height: 0; padding-bottom: 3.2%; margin: 0 -7%; border-radius: 0 0 22px 22px / 0 0 14px 14px; background: linear-gradient(180deg, #E4ECEF 0%, #B7C4CA 60%, #8E9DA4 100%); box-shadow: 0 24px 40px -18px rgba(7, 63, 82, .5); }
.laptop .base::before { content: ""; position: absolute; top: 0; left: 50%; width: 16%; height: 38%; transform: translateX(-50%); border-radius: 0 0 10px 10px; background: #9AA9B0; }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: 84px 0; }
@media (min-width: 1000px) { .section { padding: 112px 0; } }
.section-white { background: #fff; }
.section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .85rem; color: var(--teal); background: #E5F3F6; padding: 6px 14px; border-radius: 999px; margin-bottom: 14px; letter-spacing: .01em; }
html[lang="en"] .kicker { text-transform: uppercase; letter-spacing: .08em; font-size: .74rem; }
.section-head h2, .h2 { font-size: clamp(1.85rem, 4.6vw, 2.75rem); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }

/* ---------- Stats strip ---------- */
.stats { position: relative; z-index: 5; margin-top: -1px; background: #fff; border-bottom: 1px solid var(--line); }
.stats ul { display: grid; grid-template-columns: repeat(2, 1fr); }
.stats li { padding: 26px 16px; display: flex; flex-direction: column; gap: 4px; border-bottom: 1px solid var(--line); }
.stats li:nth-child(odd) { border-inline-end: 1px solid var(--line); }
.stats .big { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: var(--deep); line-height: 1.15; display: flex; align-items: center; gap: 10px; }
.stats .big .icon { color: var(--gold); font-size: 1.1em; }
.stats .small { color: var(--muted); font-size: .92rem; line-height: 1.45; }
@media (min-width: 900px) {
  .stats ul { grid-template-columns: repeat(5, 1fr); }
  .stats li { border-bottom: 0; padding: 34px 22px; }
  .stats li:nth-child(odd) { border-inline-end: 0; }
  .stats li + li { border-inline-start: 1px solid var(--line); }
}
@media (max-width: 899px) { .stats li:last-child { grid-column: 1 / -1; border-inline-end: 0; border-bottom: 0; } }

/* ---------- Problem / solution ---------- */
.ps { display: grid; gap: 20px; }
.ps-card { border-radius: var(--radius); padding: 30px 26px; }
.ps-card h3 { font-size: 1.3rem; display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.ps-card li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; }
.ps-card li + li { border-top: 1px dashed; }
.ps-card li .icon { margin-top: .3em; font-size: 1.05rem; }
.ps-before { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.ps-before li + li { border-color: var(--line); }
.ps-before h3 { color: #6B4A3A; }
.ps-before li { color: var(--muted); }
.ps-before li .icon { color: #C2573A; }
.ps-after { background: linear-gradient(160deg, var(--teal), var(--deep)); color: #fff; box-shadow: var(--shadow); }
.ps-after h3 { color: #fff; }
.ps-after li + li { border-color: rgba(255, 255, 255, .18); }
.ps-after li .icon { color: var(--gold-l); }
.ps-arrow { display: none; }
@media (min-width: 900px) {
  .ps { grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: 18px; }
  .ps-card { padding: 36px 34px; }
  .ps-arrow { display: grid; place-items: center; color: var(--gold); font-size: 30px; }
}

/* ---------- Roles (tabs) ---------- */
.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px; margin: 0 calc(var(--gutter) * -1) 28px; padding-inline: var(--gutter); scroll-snap-type: x proximity; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 8px 16px; border-radius: 14px; border: 0; background: #fff; color: var(--muted); font-weight: 700; font-size: .95rem; cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); scroll-snap-align: start; transition: background-color .2s, color .2s, box-shadow .2s; }
.tab .icon { font-size: 1.2em; color: var(--teal); }
.tab:hover { color: var(--deep); box-shadow: inset 0 0 0 1px var(--mint); }
.tab[aria-selected="true"] { background: var(--deep); color: #fff; box-shadow: 0 10px 24px -12px rgba(7, 63, 82, .7); }
.tab[aria-selected="true"] .icon { color: var(--gold-l); }
@media (min-width: 1000px) { .tabs { justify-content: center; flex-wrap: wrap; margin-inline: 0; } }
.panel { display: grid; gap: 36px; align-items: center; background: #fff; border-radius: 28px; padding: 30px 22px 0; box-shadow: var(--shadow); overflow: hidden; }
.panel[hidden] { display: none; }
.panel h3 { font-size: clamp(1.45rem, 3.2vw, 1.9rem); margin-bottom: 8px; }
.panel .who { color: var(--teal); font-weight: 700; font-size: .92rem; margin-bottom: 8px; }
.panel .desc { color: var(--muted); margin-bottom: 20px; }
.feat-list { display: grid; gap: 10px 22px; }
.feat-list li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
.feat-list .icon { flex: none; margin-top: .15em; width: 22px; height: 22px; padding: 4px; border-radius: 7px; background: #E5F3F6; color: var(--teal); stroke-width: 2.6; }
.panel-visual { display: flex; justify-content: center; align-self: end; background: radial-gradient(closest-side, #E1F1F5, transparent); }
.panel-visual .phone { --w: 250px; margin-bottom: -90px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .14), inset 0 0 0 4px #0B1418, 0 30px 60px -24px rgba(5, 47, 61, .45); }
@media (min-width: 640px) { .feat-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) {
  .panel { grid-template-columns: 1.35fr 1fr; padding: 48px 52px 0; gap: 48px; }
  .panel-copy { padding-bottom: 48px; }
  .panel-visual .phone { --w: 280px; margin-bottom: -120px; }
}

/* ---------- Steps ---------- */
.steps { display: grid; gap: 20px; counter-reset: s; }
.step { position: relative; background: #fff; border-radius: var(--radius); padding: 28px 24px 24px; box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; }
.step .num { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-family: var(--font-brand); font-weight: 800; font-size: 1.15rem; color: #2A1D02; background: linear-gradient(180deg, #F2C860, var(--gold)); box-shadow: 0 8px 18px -8px rgba(217, 169, 58, .9); margin-bottom: 18px; }
.step h3 { font-size: 1.22rem; margin-bottom: 6px; }
.step p { color: var(--muted); margin-bottom: 20px; }
.step .mini { margin-top: auto; border-radius: 16px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); padding: 16px; min-height: 138px; display: flex; align-items: center; justify-content: center; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
/* mini illustrations */
.mini-school { display: flex; align-items: center; gap: 12px; background: var(--teal); color: #fff; border-radius: 12px; padding: 12px 14px; width: 100%; max-width: 270px; box-shadow: var(--shadow-sm); }
.mini-school .crest { width: 38px; height: 38px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 3px var(--gold); color: var(--teal); font-size: 20px; flex: none; }
.mini-school b { display: block; font-size: .95rem; line-height: 1.3; }
.mini-school span { font-size: .78rem; opacity: .8; }
.mini-xls { width: 100%; max-width: 270px; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); font-size: .76rem; line-height: 1.2; }
.mini-xls .bar { background: #1D7044; color: #fff; padding: 6px 10px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.mini-xls table { width: 100%; border-collapse: collapse; }
.mini-xls td { border: 1px solid #E2E8EA; padding: 5px 8px; white-space: nowrap; color: var(--ink); }
.mini-xls tr:first-child td { background: #F1F5F6; font-weight: 700; color: var(--muted); }
.mini-slip { position: relative; width: 100%; max-width: 270px; display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; background: #fff; border-radius: 10px; padding: 12px; box-shadow: var(--shadow-sm); border: 1.5px dashed #B9CBD1; }
.mini-slip .qr { width: 58px; height: 58px; background:
  conic-gradient(from 90deg at 2px 2px, transparent 90deg, #14262D 0) 0 0 / 8px 8px; border-radius: 4px; box-shadow: inset 0 0 0 3px #fff; position: relative; }
.mini-slip .qr::before, .mini-slip .qr::after { content: ""; position: absolute; width: 18px; height: 18px; border: 4px solid #14262D; background: #fff; box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 10px #14262D; }
.mini-slip .qr::before { top: 0; left: 0; }
.mini-slip .qr::after { bottom: 0; right: 0; }
.mini-slip b { display: block; font-size: .9rem; color: var(--deep); }
.mini-slip code { display: inline-block; margin-top: 6px; font: 700 .9rem/1 var(--font-brand); letter-spacing: .12em; padding: 6px 10px; border-radius: 8px; box-shadow: inset 0 0 0 1.5px var(--ink); direction: ltr; }

/* ---------- Gallery ---------- */
.gallery { position: relative; }
.g-track { --edge: max(var(--gutter), calc(50vw - var(--wrap) / 2)); display: flex; gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 10px var(--edge) 40px; margin-inline: calc(50% - 50vw); scroll-padding-inline: var(--edge); }
.g-track::-webkit-scrollbar { display: none; }
.g-item { flex: none; scroll-snap-align: start; margin: 0; }
.g-item .phone { --w: 230px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .14), inset 0 0 0 4px #0B1418, 0 24px 44px -22px rgba(5, 47, 61, .5); }
.g-item figcaption { margin-top: 16px; text-align: center; font-weight: 700; color: var(--deep); font-size: .98rem; line-height: 1.35; max-width: 230px; }
.g-item figcaption span { display: block; font-weight: 500; color: var(--muted); font-size: .86rem; margin-top: 2px; }
.g-ctrl { display: flex; justify-content: center; gap: 10px; }
.g-ctrl button { width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--deep); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); cursor: pointer; display: grid; place-items: center; font-size: 22px; }
.g-ctrl button:hover { color: #fff; background: var(--teal); }
@media (min-width: 1000px) { .g-item .phone { --w: 250px; } .g-item figcaption { max-width: 250px; } }

/* ---------- Split sections ---------- */
.split { display: grid; gap: 48px; align-items: center; }
.split h2 { font-size: clamp(1.85rem, 4.4vw, 2.6rem); font-weight: 800; }
.split .lead { color: var(--muted); font-size: 1.1rem; }
.checks { display: grid; gap: 12px; margin: 22px 0 0; }
.checks li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.55; }
.checks .icon { flex: none; margin-top: .15em; width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--teal); color: #fff; stroke-width: 3; }
.checks b { color: var(--deep); }
@media (min-width: 1000px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } .split.rev > :first-child { order: 2; } }

/* ministry */
.ministry-visual { position: relative; padding: 20px 0 30px; }
.paper { position: relative; background: #fff; border-radius: 6px; padding: 10px; box-shadow: 0 1px 0 var(--line), 0 30px 60px -28px rgba(7, 63, 82, .45); transform: rotate(-2.2deg); width: 88%; }
html[dir="rtl"] .paper { transform: rotate(2.2deg); }
.paper img { border-radius: 2px; }
.paper .tag { position: absolute; top: -14px; inset-inline-start: 18px; background: var(--gold); color: #2A1D02; font-weight: 800; font-size: .78rem; padding: 6px 12px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.ministry-visual .phone { --w: 200px; position: absolute; bottom: -10px; inset-inline-end: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: .88rem; font-weight: 600; color: var(--deep); }
.chip .icon { color: var(--teal); }
.note-box { margin-top: 26px; padding: 18px 20px; border-radius: 16px; background: #FFF7E0; box-shadow: inset 0 0 0 1px #F3DFA3; display: flex; gap: 14px; align-items: flex-start; }
.note-box .icon { flex: none; font-size: 24px; color: var(--gold-d); margin-top: 2px; }
.note-box p { margin: 0; color: #4B3A10; }
.note-box b { color: #3A2A05; }
@media (max-width: 520px) { .ministry-visual .phone { --w: 150px; } .paper { width: 92%; } }

/* ---------- Security ---------- */
.dark { background: linear-gradient(180deg, var(--deep), var(--deeper)); color: rgba(255, 255, 255, .84); overflow: hidden; }
.dark::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 400px at 50% 0%, rgba(18, 135, 168, .35), transparent 70%); pointer-events: none; }
.dark .wrap { position: relative; }
.dark h2, .dark h3 { color: #fff; }
.dark .kicker { background: rgba(255, 255, 255, .08); color: var(--gold-l); }
.dark .section-head p { color: rgba(255, 255, 255, .74); }
.sec-grid { display: grid; gap: 16px; }
.sec-card { padding: 26px 24px; border-radius: var(--radius); background: rgba(255, 255, 255, .045); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); transition: background-color .2s, transform .2s; }
.sec-card:hover { background: rgba(255, 255, 255, .07); }
.sec-card .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; color: var(--gold-l); background: linear-gradient(160deg, rgba(255, 229, 154, .18), rgba(255, 229, 154, .04)); box-shadow: inset 0 0 0 1px rgba(255, 229, 154, .22); margin-bottom: 16px; }
.sec-card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.sec-card p { margin: 0; font-size: .97rem; line-height: 1.6; }
@media (min-width: 700px) { .sec-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .sec-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* ---------- White label ---------- */
.wl-visual { position: relative; display: grid; place-items: center; padding: 30px 0; }
.wl-stage { position: relative; width: 100%; max-width: 480px; aspect-ratio: 1 / .9; border-radius: 32px; background: radial-gradient(circle at 30% 20%, #E3F2F6, #F4FAFB 60%); box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; }
.wl-icons { display: flex; align-items: center; gap: 18px; }
.app-ic { display: flex; flex-direction: column; align-items: center; gap: 10px; font-weight: 700; font-size: .9rem; color: var(--deep); }
.app-ic .box { width: 104px; height: 104px; border-radius: 26px; overflow: hidden; box-shadow: 0 18px 30px -14px rgba(7, 63, 82, .5); }
.app-ic .box img { width: 100%; height: 100%; }
.app-ic.yours .box { background: linear-gradient(160deg, #7A1F2B, #4A0F18); display: grid; place-items: center; }
.app-ic.yours .box svg { width: 62px; height: 62px; }
.wl-arrow { color: var(--gold); font-size: 30px; }
.wl-header { position: absolute; inset-inline: 8%; bottom: 8%; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.wl-header .bar { background: linear-gradient(90deg, #6E1C27, #4A0F18); color: #fff; display: flex; align-items: center; gap: 10px; padding: 12px 14px; font-weight: 700; font-size: .92rem; }
.wl-header .bar .crest { width: 30px; height: 30px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 2.5px #E7C46A; }
.wl-header .bar .crest svg { width: 18px; height: 18px; }
.wl-header .rows { padding: 12px 14px; display: grid; gap: 8px; }
.wl-header .rows i { display: block; height: 9px; border-radius: 9px; background: #EEF3F5; }
.wl-header .rows i:nth-child(2) { width: 70%; }
.wl-header .rows i:nth-child(3) { width: 45%; }
.wl-top { position: absolute; top: 8%; inset-inline-start: 8%; }

/* ---------- Languages & devices ---------- */
.devices-visual { position: relative; padding-bottom: 40px; }
.devices-visual .laptop { width: 92%; }
.devices-visual .phone { --w: 150px; position: absolute; bottom: 0; inset-inline-end: 0; }
@media (min-width: 640px) { .devices-visual .phone { --w: 190px; } }
.lang-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.lang-chips span { padding: 10px 18px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); font-weight: 800; color: var(--deep); font-size: 1.02rem; }
.lang-chips span:nth-child(1) { font-family: "Tajawal", sans-serif; }
.lang-chips span:not(:nth-child(1)) { font-family: var(--font-brand); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s; }
.faq details[open] { box-shadow: inset 0 0 0 1.5px var(--mint), var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 22px; display: flex; gap: 16px; align-items: center; justify-content: space-between; font-weight: 700; color: var(--deep); font-size: 1.05rem; line-height: 1.45; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); color: var(--teal); transition: transform .25s ease, background-color .2s; font-size: 18px; }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--teal); color: #fff; }
.faq .ans { padding: 0 22px 22px; color: var(--muted); }
.faq .ans p:last-child { margin: 0; }

/* ---------- Final CTA ---------- */
.cta { color: #fff; background:
  radial-gradient(800px 400px at 100% 0%, rgba(18, 135, 168, .55), transparent 60%),
  radial-gradient(600px 400px at 0% 100%, rgba(217, 169, 58, .18), transparent 60%),
  linear-gradient(160deg, #0A5D75, var(--deep) 55%, var(--deeper)); overflow: hidden; }
.cta-grid { display: grid; gap: 40px; }
.cta h2 { color: #fff; font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; }
.cta .lead { color: rgba(255, 255, 255, .82); font-size: 1.12rem; }
.contact-list { display: grid; gap: 12px; margin-top: 28px; }
.contact-item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); color: #fff; text-decoration: none; }
a.contact-item:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.contact-item .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; flex: none; background: rgba(255, 255, 255, .1); color: var(--gold-l); }
.contact-item .ic.wa { background: #1FAF5A; color: #fff; }
.contact-item small { display: block; color: rgba(255, 255, 255, .66); font-size: .82rem; line-height: 1.3; }
.contact-item b { font-weight: 700; font-size: 1.02rem; word-break: break-word; }
.ph { color: var(--gold-l); background: rgba(255, 229, 154, .1); border-radius: 6px; padding: 0 6px; box-shadow: inset 0 0 0 1px rgba(255, 229, 154, .35); }
.form-card { background: #fff; color: var(--ink); border-radius: 26px; padding: 28px 22px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55); }
.form-card h3 { font-size: 1.35rem; margin-bottom: 4px; }
.form-card > p { color: var(--muted); font-size: .95rem; }
.fgrid { display: grid; gap: 14px; }
.field label { display: block; font-weight: 700; font-size: .88rem; color: var(--deep); margin-bottom: 6px; }
.field label .opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 12px; border: 1.5px solid #D2E2E7; background: #FBFDFE; font-size: 1rem; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(11, 110, 138, .14); background: #fff; }
.field input[type="tel"] { direction: ltr; }
html[dir="rtl"] .field input[type="tel"] { text-align: right; }
.form-actions { display: grid; gap: 10px; margin-top: 18px; }
.form-msg { margin-top: 12px; font-size: .9rem; color: #A23B22; min-height: 1.2em; }
.form-msg.ok { color: #1D7044; }
.form-fine { margin-top: 6px; font-size: .82rem; color: var(--muted); }
@media (min-width: 560px) { .fgrid { grid-template-columns: 1fr 1fr; } .field.full { grid-column: 1 / -1; } .form-actions { grid-template-columns: 1fr 1fr; } .form-card { padding: 34px 32px; } }
@media (min-width: 1000px) { .cta-grid { grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--deeper); color: rgba(255, 255, 255, .7); padding: 48px 0 32px; font-size: .94rem; }
.foot-top { display: grid; gap: 28px; padding-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.site-footer .brand { color: #fff; }
.site-footer p { margin: 12px 0 0; max-width: 26em; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.foot-links a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.foot-links a:hover { color: #fff; text-decoration: underline; }
.foot-bottom { padding-top: 22px; display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: space-between; }
.foot-bottom a { color: rgba(255, 255, 255, .82); }
.foot-bottom .dotsep { opacity: .45; padding-inline: 6px; }
@media (min-width: 900px) { .foot-top { grid-template-columns: 1fr auto; align-items: center; } }

/* ---------- Privacy page ---------- */
.doc-hero { padding: calc(var(--header-h) + 48px) 0 36px; background: #fff; border-bottom: 1px solid var(--line); }
.doc-hero h1 { font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 800; }
.draft-banner { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: 14px; background: #FFF7E0; box-shadow: inset 0 0 0 1px #F3DFA3; color: #4B3A10; margin-top: 18px; max-width: 760px; }
.draft-banner .icon { flex: none; font-size: 22px; color: var(--gold-d); margin-top: 2px; }
.doc { max-width: 820px; padding: 48px var(--gutter) 90px; }
.doc h2 { font-size: 1.45rem; margin-top: 2em; }
.doc h2:first-child { margin-top: 0; }
.doc ul { list-style: disc; padding-inline-start: 1.3em; margin: 0 0 1em; }
.doc li { margin: .35em 0; }
.doc .meta { color: var(--muted); font-size: .92rem; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.toast { animation: floaty 6s ease-in-out infinite; }
.toast-2 { animation-delay: -3s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .toast { animation: none; }
  .btn, .tab, .faq summary .pm { transition: none; }
}

/* ---------- Small-screen polish ---------- */
@media (max-width: 559px) {
  .hero-ctas .btn { flex: 1 1 100%; }
  .toast-2 { display: none; }
  .toast-1 { top: 10px; inset-inline-start: 50%; transform: translateX(50%); }
  html[dir="ltr"] .toast-1 { transform: translateX(-50%); }
  .wl-stage { aspect-ratio: 1 / 1.08; }
  .wl-icons { gap: 12px; }
  .app-ic .box { width: 88px; height: 88px; border-radius: 22px; }
  .form-msg:empty { display: none; }
}
.form-msg:empty { min-height: 0; margin: 0; }
html { overflow-x: clip; }
.site-header .wrap { min-width: 0; }
@media (max-width: 440px) {
  .site-header .wrap { gap: 10px; }
  .brand small { display: none; }
  .brand b { font-size: 1.2rem; }
  .lang-switch { padding: 6px 10px; }
}
.stats li { min-width: 0; }
@media (max-width: 599px) {
  .stats .big { font-size: 1.18rem; gap: 8px; }
  .stats li { padding: 20px 14px; }
}
html[lang="en"] .stats .big { font-size: 1.32rem; }
