/* Public page shell: shared alignment, mobile navigation and footer. */
body{min-height:100dvh;display:flex;flex-direction:column}
main{flex:1;min-width:0}
.header{position:sticky;top:0;z-index:40;background:var(--ivory);backdrop-filter:none;border-bottom:1px solid var(--border)}
.header>.header-inner{display:flex;align-items:center;justify-content:space-between;min-height:86px;gap:28px;padding-block:12px;flex-wrap:nowrap}
.header .brand{font-size:24px;letter-spacing:-1px;max-width:100%;overflow-wrap:anywhere;flex-shrink:1;min-width:0}
.brand-mark{flex-shrink:0}
.nav{display:flex;flex:1;justify-content:flex-end;gap:28px;min-width:0;order:initial;padding:0}
.nav-links{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:0 22px;min-width:0}
.nav-links>a{min-height:44px;font-size:.875rem;line-height:1.65;padding-block:8px;overflow-wrap:anywhere}
.nav-actions{display:flex;align-items:center;gap:12px}
.nav-actions .button{font-size:.875rem;min-height:46px;padding:11px 18px;white-space:normal}
.nav-actions .language-switch{font-size:.875rem;justify-content:center;min-height:44px;padding:8px 14px}
.mobile-menu{display:none;flex-shrink:0;margin:0;min-height:44px;padding:9px 13px;line-height:1.5}
.header .nav-heading,.menu-backdrop{display:none}
.footer{padding:56px 0 0;background:#f3eee4;border-top:1px solid var(--border);margin-top:0}
.footer>.container{display:block}
.footer .container>div{max-width:none}
.footer .footer-grid{display:grid;grid-template-columns:minmax(250px,1.6fr) repeat(2,minmax(0,1fr));align-items:start;gap:36px 52px;padding-bottom:38px}
.footer .footer-grid:has(.footer-pages){grid-template-columns:minmax(250px,1.5fr) repeat(3,minmax(0,1fr));gap:32px}
.footer-brand{min-width:0}.footer .brand{font-size:25px}
.footer .footer-brand p{font-size:.9375rem;line-height:1.9;max-width:360px;margin:18px 0 12px;overflow-wrap:anywhere}
.footer-platform{display:inline-flex;align-items:center;min-height:44px;font-size:.875rem;font-weight:600;color:var(--wine);text-decoration:underline;text-underline-offset:5px}
.footer .footer-group{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-width:0}
.footer-group h2{font-size:1rem;line-height:1.6;margin:0 0 12px;font-weight:650;letter-spacing:0}
html[lang=ar] .footer-group h2{font-size:1.125rem}
.footer-group a{display:flex;align-items:center;min-height:44px;padding-block:6px;font-size:.875rem;line-height:1.75;max-width:100%;overflow-wrap:anywhere}
.footer a:hover{text-decoration:underline;text-underline-offset:5px}
.footer .footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px 24px;flex-wrap:wrap;padding:18px 0;border-top:1px solid var(--border);font-size:.8125rem;line-height:1.7}
.footer .footer-bottom small{font-size:inherit;flex-basis:auto;border:0;padding:0}
.footer-bottom>a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;font-family:Cairo,Arial,sans-serif;font-size:.875rem;color:var(--wine)}
.hero-copy,.hero-art,.features>*{min-width:0}
.hero-stats>div{min-width:0;gap:5px;align-items:flex-start}
.hero-stats strong{unicode-bidi:isolate;line-height:1.5}
.hero-stats span{font-size:.8125rem;line-height:1.8}
.section-title .eyebrow{margin-top:0}
@media(min-width:1101px){.header .nav{visibility:visible}.nav-links{max-width:650px;margin-inline:auto}.hero-grid{gap:48px}.hero{padding-block:64px 60px}.hero h1{font-size:clamp(42px,4.5vw,64px)}html[lang=ar] .hero h1{font-size:clamp(42px,4.2vw,60px);line-height:1.5}.hero-art{min-height:420px}}
@media(max-width:1100px){
 .header>.header-inner,.js .header>.header-inner{min-height:74px;gap:16px;padding-block:12px;flex-wrap:wrap}
 .mobile-menu{display:inline-flex;align-items:center;justify-content:center;margin-inline-start:auto;gap:10px}
 .header .nav{width:100%;padding:12px 0;flex-direction:column;gap:18px;align-items:stretch;order:5}
 .nav-links,.nav-actions{flex-direction:column;align-items:stretch;gap:8px}
 .nav-links>a{font-size:1rem;padding:12px 14px;min-height:48px;border-radius:9px}
 .nav-actions{border-top:1px solid var(--border);padding-top:18px;margin-top:auto}
 .nav-actions .button,.nav-actions .language-switch{font-size:.9375rem;min-height:48px;width:100%;text-align:center;justify-content:center}
 .js .header .nav{position:fixed;inset-block:0;inset-inline-end:0;inset-inline-start:auto;z-index:43;display:flex;width:min(390px,calc(100% - 24px));height:100dvh;max-height:100dvh;overflow-y:auto;overscroll-behavior:contain;padding:22px 22px calc(22px + env(safe-area-inset-bottom));background:var(--ivory);border-inline-start:1px solid var(--border);box-shadow:0 0 60px #31171c24;gap:20px;order:initial}
 .js .header .nav-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:1.125rem;line-height:1.7;padding-bottom:16px;border-bottom:1px solid var(--border)}
 .js .menu-close{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;border:1px solid var(--border);border-radius:10px;background:transparent;color:var(--wine);font:28px/1 Cairo,sans-serif}
 .js .menu-backdrop:not([hidden]){display:block;position:fixed;inset:0;z-index:39;height:100dvh;width:100%;border:0;background:#31171c80}
 .footer .footer-grid,.footer .footer-grid:has(.footer-pages){grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
 .footer-brand{grid-column:1/-1}.footer .footer-brand p{max-width:520px}
}
@media(max-width:767px){
 .header .brand{font-size:23px}.header>.header-inner,.js .header>.header-inner{min-height:72px;padding-block:10px}
 .hero-copy{max-width:none}.hero-copy .hero-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
 .hero-actions .button{font-size:.875rem;padding-inline:12px;min-height:50px}
 .hero-stats{gap:16px}.hero-stats strong{font-size:22px}.hero-stats span{font-size:.75rem}
 .section-title{max-width:100%}.section-title h2{overflow-wrap:anywhere}
 .cta{margin-bottom:40px}.footer{padding-top:36px}
 .footer .footer-grid,.footer .footer-grid:has(.footer-pages){grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 22px;padding-bottom:26px}
 .footer .footer-brand p{max-width:none;margin-top:14px;font-size:.9375rem}
 .footer-pages{grid-column:1/-1}.footer .footer-pages{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:22px}.footer-pages h2{grid-column:1/-1}
 .footer .footer-bottom{gap:8px 16px;font-size:.8125rem;padding-block:18px}
 .footer-bottom span{order:3;flex-basis:100%}.footer-bottom>a{margin-inline-start:auto}
}
@media(max-width:360px){
 .header .brand{font-size:21px}.header>.header-inner,.js .header>.header-inner{gap:10px}
 .header .brand-mark{width:34px;height:34px;border-radius:10px}.mobile-menu{padding-inline:10px;font-size:.8125rem}
 .footer .footer-grid,.footer .footer-grid:has(.footer-pages){gap:22px 14px}
 .hero-copy .hero-actions{grid-template-columns:1fr}.hero-stats{gap:8px}
}
@media(max-width:280px){.footer .footer-grid,.footer .footer-grid:has(.footer-pages),.footer .footer-pages{grid-template-columns:1fr}.footer-brand,.footer-pages,.footer-pages h2{grid-column:auto}}

.onboarding-help{font-size:.875rem;line-height:1.9;color:#e2d5c6;max-width:760px;margin:24px 0}.hero-stats strong{white-space:nowrap}
