/* nav1 (24 Nov 2026): one site navigation on every public page, one header row on phones, readable small text on phones. */
header{position:relative}
.site-nav{display:flex;align-items:center;gap:6px 18px;flex-wrap:wrap;margin-inline-start:auto}
.site-nav .nav-links{display:flex;align-items:center;gap:2px 18px;flex-wrap:wrap}
.site-nav .nav-links a{display:inline-flex;align-items:center;min-height:44px;font-size:14px;color:#1b2a25;text-decoration:none;white-space:nowrap}
.site-nav .nav-links a:hover{text-decoration:underline;text-underline-offset:6px}
.site-nav .nav-links a[aria-current=page]{font-weight:700;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:6px;text-decoration-color:#b98a2f}
.site-nav .nav-t{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.site-nav .nav-btn{display:none}
@media(max-width:820px){
 header,header.sub-head{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center;justify-content:space-between;gap:8px}
 header>a:first-child{flex:0 0 auto!important;width:auto!important;margin:0}
 .site-nav{flex:0 0 auto!important;width:auto!important;min-width:0!important;margin:0}
 header>a:first-child img{display:block;width:auto!important;height:auto!important;max-width:150px;max-height:44px}
 header{max-width:100vw;box-sizing:border-box}
 .site-nav{flex-wrap:nowrap;gap:8px}
 .site-nav .nav-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 16px;border:1px solid #c9d3cc;border-radius:999px;background:#fffdf7;color:#123f35;font-size:14px;font-weight:700;cursor:pointer;white-space:nowrap}
 .site-nav .nav-btn::before{content:"";width:16px;height:2px;background:currentColor;box-shadow:0 5px 0 currentColor,0 -5px 0 currentColor}
 .site-nav .nav-t:focus-visible+.nav-btn{outline:3px solid #b98a2f;outline-offset:2px}
 .site-nav .nav-t:checked+.nav-btn{background:#123f35;color:#fff;border-color:#123f35}
 .site-nav .nav-links{display:none;position:absolute;top:100%;left:0;right:0;z-index:40;flex-direction:column;align-items:stretch;gap:0;flex-wrap:nowrap;padding:4px 16px 12px;background:#fffdf7;border-top:1px solid #e4ebe6;border-bottom:1px solid #d9e0da;box-shadow:0 14px 24px rgba(18,63,53,.14)}
 .site-nav .nav-t:checked~.nav-links{display:flex}
 .site-nav .nav-links a{min-height:50px;font-size:16px;border-bottom:1px solid #eef1ec}
 .site-nav .nav-links a:last-child{border-bottom:0}
}
@media(max-width:560px){
 .fine,.co-fine,.co-note,.learn-desc,.tut-soon,.tut-meta span,p.help,.feat-eq,.scope-help a,.help-links a,.offer p,.offer small,.sub-foot span,.sub-foot a,main small,main time,main table td,main table th,footer a,footer span,footer nav a{font-size:14px!important;line-height:1.75}
 .eyebrow,.sub-eyebrow,.learn-time,.tag,.co-ok,.co-review,.plan-badge,p.legal,p.legal a,.social-label,main code{font-size:13px!important}
}

/* polish1 (24 Nov 2026): the "should fix" items of the design review. */
/* 1) the help launcher on phones: a round icon that covers less, and room under the page so it never hides the last line */
@media(max-width:560px){
 .sbs-exp-launcher .sbs-exp-launcher-copy{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .sbs-exp-launcher{width:52px!important;min-width:52px;height:52px;padding:0!important;justify-content:center;border-radius:50%!important;gap:0!important}
 body:has(.sbs-exp-launcher) footer{padding-bottom:84px}
}
/* 2) touch targets of at least 44px */
details.kinfo>summary,details.faq-q>summary,details.privacy>summary,details.c2-mini>summary{min-height:44px;box-sizing:border-box;padding-block:10px}
.offer a.btn-offer{min-height:44px!important;box-sizing:border-box}
.offer .join-link,.learn-all,.page-toc a{display:inline-flex;align-items:center;min-height:44px}
@media(max-width:560px){
 footer a,footer nav a,p.legal a{display:inline-flex;align-items:center;min-height:44px}
}
/* 3) the program page: a contents strip under the hero */
.page-toc{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;max-width:1100px;margin:6px auto 22px;padding:0 16px}
.page-toc a{padding:0 16px;border:1px solid #c9d3cc;border-radius:999px;background:#fffdf7;color:#123f35;font-size:14px;font-weight:600;text-decoration:none;white-space:nowrap}
.page-toc a:hover,.page-toc a:focus-visible{background:#e4ece8}
main.co h2[id]{scroll-margin-top:18px}
@media(max-width:700px){
 .page-toc{flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding-bottom:4px;mask-image:linear-gradient(to left,#000 86%,transparent)}
 .page-toc::-webkit-scrollbar{display:none}
 .page-toc a{flex:0 0 auto}
}
/* 4) the home headline on wide screens: two lines, not three */
@media(min-width:1000px){
 section.welcome:has(.path-tabs) h1{max-width:900px;margin-inline:auto}
}
/* 5) contrast of the unavailable feature in the plan cards (was 4.24:1) */
.plan-feats li.off{color:#5c6962}

/* nice1 (24 Nov 2026): the three "nice to have" items of the design review. */
/* 1) the recommended plan stands out from its neighbours */
.plan-card.plan-featured{outline:2px solid #d8b26a;outline-offset:3px;box-shadow:0 18px 38px rgba(18,63,53,.30)}
@media(min-width:900px){.plan-card.plan-featured{transform:translateY(-6px)}}
.plan-card.plan-featured a.primary,.plan-card.plan-featured button.buy,.plan-card.plan-featured button.primary{background:#d8b26a!important;color:#123f35!important;border-color:#d8b26a!important}
/* 2) wide tables on phones say that they scroll, and the far edge fades */
.scroll-hint{display:none}
.co-table-wrap:focus-visible{outline:3px solid #b98a2f;outline-offset:2px}
@media(max-width:700px){
 .scroll-hint{display:flex;align-items:center;gap:8px;margin:0 0 8px;font-size:13px;color:#55655d}
 .scroll-hint::before{content:"";flex:0 0 22px;height:10px;background:linear-gradient(#55655d,#55655d) center/100% 2px no-repeat;clip-path:polygon(0 50%,22% 0,22% 40%,78% 40%,78% 0,100% 50%,78% 100%,78% 60%,22% 60%,22% 100%)}
 .co-table-wrap{mask-image:linear-gradient(to left,#000 90%,transparent);-webkit-mask-image:linear-gradient(to left,#000 90%,transparent)}
}
/* 3) the calculator's fixed button on phones: a solid strip under it, so the options behind do not show through */
@media(max-width:900px){
 form>#calculate{min-height:54px;box-shadow:0 0 0 12px #fffef9,0 -16px 18px 12px rgba(255,254,249,.94)}
 form:has(>#calculate){padding-bottom:10px}
}

/* value1 (24 Nov 2026): the on-device argument on the program page and the plan value line on the plans page */
.local-proof{max-width:760px;margin:6px auto 18px;padding:12px 18px;border:1px solid #c9d3cc;border-inline-start:4px solid #b98a2f;border-radius:12px;background:#fffdf7;color:#123f35;font-size:15.5px;font-weight:600;line-height:1.8;text-align:start}
.plans-value{max-width:820px;margin:0 auto 10px;padding:12px 18px;border-radius:12px;background:#e9efe9;color:#123f35;font-size:15px;line-height:1.85;text-align:center}
@media(max-width:560px){.local-proof,.plans-value{font-size:15px;padding:11px 14px}}
/* tut1 (3 Dec 2026): «الدروس» only in the opened menu below 1200 px */
@media (max-width:1199px){.site-nav .nav-t:not(:checked)~.nav-links a[href$="/tutorials.php"]{display:none}}
/* dr2 (4 Dec 2026): subscribe intro in one plain block; remember-me checkbox 20px; pricing ROI link as an outlined button */
.plans-intro{max-width:820px;margin:0 0 22px;text-align:start}
.plans-intro p,.plans-intro .plans-value,.plans-intro .info{margin:0 0 8px;padding:0;background:none;border:0;color:#41524a;font-size:15px;line-height:1.85;text-align:start}
.plans-intro .plans-lead{font-size:18px;color:#123f35}
html body .kam-sar{display:inline!important;margin:0 .15em}
main input[type=checkbox][name=remember]{width:20px;height:20px;accent-color:#123f35;vertical-align:middle;margin-inline-end:6px}
html body .info-actions a.button.strip-download[href$="#roi"]{display:inline-flex!important;width:auto!important;padding:0 28px;background:transparent!important;color:#123f35!important;border:1px solid #123f35!important}
html body .info-actions a.button.strip-download[href$="#roi"]:hover{background:#123f350f!important}

/* stk1 (5 Dec 2026, Ali): the header stays at the top of the screen while the page scrolls. The design and pilot screens (body.kam-theme) keep their own sticky panels, so they are left out; the calculator (kam-theme with #calculate) is kept. The header box gets a solid fill so the page does not show through it while scrolling. */
html:root body:is(:not(.kam-theme),:has(#calculate))>header{position:sticky;top:0;z-index:60}
html body:not(.home-sheet):has(>header>nav.site-nav)>header{background:#edf0eb!important}
html{scroll-padding-top:96px}
