/* Home page v2 — approved spec «2Be.vip Website Changes» (26–28 Nov 2026), Design spec section (CHANGES #384).
   Tokens from the 2Be.vip Visual Identity Guide v1.0: blue #0250CA, orange #FA5E02 (trial button + small accents
   only), text #18283F, navy #092A63, soft #F3F6FC, muted #5B6677. Arabic Tajawal, English Inter. Mobile first
   (375 px), 8 px grid, radii 12–20 px, tap targets ≥ 44 px, no text below 14 px. */
:root{--blue:#0250CA;--orange:#FA5E02;--text:#18283F;--navy:#092A63;--soft:#F3F6FC;--muted:#5B6677;--white:#fff;--line:#E3E9F4}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:#fff;color:var(--text);font:400 16px/1.6 Tajawal,Inter,system-ui,sans-serif}
html[lang=en] body{font-family:Inter,Tajawal,system-ui,sans-serif}
img,video{max-width:100%;display:block}
a{color:var(--blue)}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--orange);outline-offset:2px}
h1,h2,h3{color:var(--text);margin:0}
h2{font-size:24px;font-weight:700;line-height:1.4}
h3{font-size:19px;font-weight:700;line-height:1.5}
.hm-wrap{max-width:1180px;margin:0 auto;padding:0 16px}
.hm-sec{padding:40px 0}
.hm-soft{background:var(--soft)}
.hm-sec h2{margin-bottom:12px}
.hm-lead{font-size:16px;color:var(--text);max-width:760px;margin:0 0 20px}
.hm-small{font-size:15px;color:var(--muted)}
.hm-more{margin:16px 0 0;font-size:16px}
.hm-more a{display:inline-flex;align-items:center;min-height:44px;font-weight:700;text-decoration:none}
.hm-more a:hover{text-decoration:underline}
/* buttons */
.hm-trial{display:flex;align-items:center;justify-content:center;width:100%;min-height:52px;padding:10px 16px;border-radius:12px;background:var(--orange);color:#fff!important;font-family:inherit;font-weight:700;font-size:20px;line-height:1.2;text-decoration:none;white-space:nowrap}
.hm-trial:hover{background:#E55402}
.hm-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:10px 20px;border-radius:12px;font-family:inherit;font-weight:700;font-size:17px;line-height:1.2;text-decoration:none;white-space:nowrap}
.hm-btn-blue{background:var(--blue);color:#fff!important}
.hm-btn-blue:hover{background:#0143A8}
.hm-btn-white{background:#fff;color:var(--blue)!important}
.hm-btn-wide{width:100%}
/* 1 hero */
.hm-hero{padding:16px 0 24px}
.hm-hero-grid{display:grid;gap:20px}
.hm-badge{display:inline-flex;align-items:center;min-height:32px;padding:4px 14px;border-radius:999px;background:var(--soft);color:var(--blue);font-weight:700;font-size:14px}
.hm-h1{font-size:32px;font-weight:800;line-height:1.3;margin:14px 0 0}
.hm-h1 span{display:block;white-space:nowrap}
.hm-blue{color:var(--blue)}
.hm-rule{display:block;width:36px;height:2px;background:var(--orange);margin:12px 0}
.hm-sub{font-size:16px;font-weight:700;color:var(--text);margin:0 0 14px}
.hm-pills{list-style:none;padding:0;margin:0 0 18px;display:flex;flex-wrap:wrap;gap:8px}
.hm-pills li{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:4px 14px;border-radius:999px;background:var(--soft);color:var(--blue);font-weight:700;font-size:14px}
.hm-pills svg,.hm-trust svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none}
.hm-hero-pic{margin:0}
.hm-hero-pic img{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:16px}
/* 2 trust strip */
.hm-trust{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#fff}
.hm-trust ul{list-style:none;margin:0 auto;padding-top:12px;padding-bottom:12px;display:grid;gap:8px}
.hm-trust li{display:flex;align-items:center;gap:8px;font-weight:700;font-size:15px;color:var(--text)}
.hm-trust svg{color:var(--blue);width:20px;height:20px}
/* 3 steps */
.hm-steps{list-style:none;padding:0;margin:0;display:grid;gap:12px}
.hm-steps li{background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px}
.hm-steps b{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--blue);color:#fff;font-weight:700;margin-bottom:8px}
.hm-steps h3{margin-bottom:4px}.hm-steps p{margin:0;color:var(--text)}
/* 4 video */
.hm-video-grid{display:grid;gap:20px;align-items:center}
.hm-video video{width:100%;border-radius:16px;background:var(--navy)}
.hm-proof{font-weight:700;color:var(--blue)}
/* 5 levels */
.hm-levels{list-style:none;padding:0;margin:0 0 20px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.hm-lvl{display:flex;flex-direction:column;gap:4px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px}
.hm-lvl b{font-size:28px;font-weight:800;color:var(--blue);line-height:1.1}
.hm-lvl span{font-weight:700}
.hm-lvl em{font-style:normal;font-size:14px;color:#14632F;font-weight:700}
.hm-lvl .hm-btn{margin-top:6px;min-height:44px;padding:8px 12px;font-size:16px}
.hm-lvl-note{font-size:14px!important;font-weight:400!important;color:var(--muted)}
.hm-lvl-a1{background:var(--navy);border-color:var(--navy);color:#fff}
.hm-lvl-a1 b,.hm-lvl-a1 span{color:#fff}.hm-lvl-a1 em{color:#C9F2D6}
.hm-lvl-a1 .hm-btn-blue{background:#fff;color:var(--blue)!important}
.hm-test{background:var(--soft);border-radius:16px;padding:16px}
.hm-test p{margin:10px 0 0}
.hm-cert a{font-weight:700}
/* 6 tracks */
.hm-cards{display:grid;gap:12px}
.hm-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px}
.hm-amount{font-weight:700;color:var(--blue);margin:4px 0 8px}
.hm-short{display:none}
.hm-feature{background:var(--soft);border-radius:12px;padding:8px 12px}
.hm-note{margin:16px 0 0;font-weight:700}
/* 7 price */
.hm-price-grid{display:grid;gap:16px}
.hm-price{background:var(--navy);color:#fff;border-radius:20px;padding:20px}
.hm-price p{color:#DCE6FA;margin:6px 0}
.hm-price-label{display:inline-block;font-size:14px;color:#C9D6F2;font-weight:700}
.hm-price-big{color:#fff;font-size:28px;font-weight:800;line-height:1.3;margin:8px 0 0}
.hm-price-big span{display:block}
.hm-orange{color:var(--orange)}
.hm-price-over{font-size:18px;font-weight:700;color:#fff!important}
.hm-price hr{border:0;border-top:1px solid rgba(255,255,255,.2);margin:14px 0}
.hm-price-full{font-size:22px;font-weight:700;color:#fff!important}
.hm-price small{color:#C9D6F2;font-size:14px}
.hm-same{font-weight:700}
.hm-price .hm-btn{margin-top:12px}
.hm-get{border:1px solid var(--line);border-radius:20px;padding:20px}
.hm-get ul{margin:10px 0 0;padding:0;list-style:none;display:grid;gap:8px}
.hm-get li{display:flex;gap:8px}.hm-get li:before{content:"✓";color:var(--blue);font-weight:700}
/* 8 teachers */
.hm-teachers{list-style:none;padding:0;margin:16px 0 0;display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px}
.hm-teachers li{background:#fff;border:1px solid var(--line);border-radius:16px;padding:12px;text-align:center}
.hm-teachers img{width:96px;height:96px;border-radius:50%;object-fit:cover;margin:0 auto 8px}
.hm-teachers b{display:block}.hm-teachers small{display:block;font-size:14px;color:var(--muted)}
/* 9 company */
.hm-company{background:var(--navy);color:#fff}
.hm-company ul{list-style:none;margin:0 auto;padding-top:14px;padding-bottom:14px;display:flex;flex-wrap:wrap;gap:6px 18px;justify-content:center;font-size:15px}
.hm-company a{color:#fff;display:inline-flex;min-height:44px;align-items:center}
/* 10 faq */
.hm-faq{display:grid;gap:16px}
.hm-links{list-style:none;padding:0;margin:8px 0 0;display:grid;gap:0}
.hm-links a{display:flex;align-items:center;min-height:44px;font-weight:700}
details{border-bottom:1px solid var(--line)}
summary{cursor:pointer;min-height:48px;display:flex;align-items:center;padding:10px 0;font-weight:700;font-size:17px;list-style:none}
summary::-webkit-details-marker{display:none}
summary:after{content:"+";margin-inline-start:auto;padding-inline-start:12px;color:var(--blue);font-size:22px}
details[open] summary:after{content:"−"}
details p{margin:0 0 14px}
/* 11 end + sticky */
.hm-end{padding:40px 0 48px;text-align:center}
.hm-end h2{margin-bottom:16px}
.hm-end .hm-trial{max-width:420px;margin:0 auto}
.hm-sticky{position:fixed;left:0;right:0;bottom:0;z-index:50;background:#fff;border-top:1px solid var(--line);padding:8px 12px}
.hm-sticky[hidden]{display:none}
body.hm-has-sticky{padding-bottom:72px}
/* dialog + signed-out banner (kept from the old page) */
#dialog{border:0;border-radius:20px;padding:24px;max-width:min(520px,calc(100% - 32px));color:var(--text)}
#dialog::backdrop{background:rgba(9,42,99,.45)}
#dialog .close{position:absolute;inset-inline-end:10px;top:10px;width:44px;height:44px;border:0;background:none;font-size:26px;cursor:pointer}
.signed-out{background:#E7F6EC;color:#14632F;text-align:center;padding:10px 16px;font-weight:700}
/* larger screens */
@media(min-width:768px){
  .hm-sec{padding:56px 0}
  .hm-trust ul{grid-template-columns:repeat(3,1fr)}
  .hm-steps,.hm-cards{grid-template-columns:repeat(3,1fr)}
  .hm-cards{grid-template-columns:1fr 1fr}
  .hm-levels{grid-template-columns:repeat(3,minmax(0,1fr))}
  .hm-faq{grid-template-columns:1fr 2fr;gap:40px}
  .hm-trial{width:auto;min-width:300px;padding:10px 32px}
  .hm-hero .hm-trial{display:inline-flex}
  .hm-btn-wide{width:auto}
}
@media(min-width:1000px){
  .hm-hero{padding:40px 0}
  .hm-hero-grid{grid-template-columns:1fr 1fr;align-items:center;gap:40px}
  .hm-h1{font-size:48px}
  .hm-video-grid{grid-template-columns:.9fr 1.3fr;gap:40px}
  .hm-price-grid{grid-template-columns:1.1fr 1fr;align-items:start}
  .hm-levels{grid-template-columns:repeat(6,minmax(0,1fr))}
  .hm-sticky{display:none!important}
  body.hm-has-sticky{padding-bottom:0}
}
@media(max-width:420px){.hm-long{display:none}.hm-short{display:block}}
html[lang=en] .hm-h1 span{white-space:normal}
.hm-steps a{display:inline-block;white-space:nowrap;font-weight:700;margin-top:4px}
.hm-pills a{display:inline-flex;align-items:center;gap:6px;color:inherit;text-decoration:none;min-height:36px}.hm-pills li:has(a):hover{background:#E6EDFA}.hm-pills a:hover span{text-decoration:underline}
