:root {
    --sf-canvas: #f7f9fc;
    --sf-surface: #ffffff;
    --sf-surface-soft: #eef4ff;
    --sf-ink: #0b1220;
    --sf-muted: #5e6b82;
    --sf-line: #dce5f1;
    --sf-primary: #2f62ff;
    --sf-violet: #6856ff;
    --sf-cyan: #0fc3ee;
    --sf-success: #087b56;
    --sf-radius-sm: 12px;
    --sf-radius-md: 20px;
    --sf-radius-lg: 30px;
    --sf-shadow-sm: 0 10px 30px rgba(15, 23, 42, .06);
    --sf-shadow-lg: 0 30px 80px rgba(33, 68, 146, .13);
    --sf-container: 1240px;
    --sf-reading: 760px;
    --sf-font-ar: "Noto Sans Arabic", Tahoma, Arial, sans-serif;
    --sf-font-latin: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--sf-ink); background: var(--sf-canvas); font-family: var(--sf-font-latin); line-height: 1.7; text-rendering: optimizeLegibility; }
body.rtl, .sf-direction-rtl { font-family: var(--sf-font-ar); }
a { color: inherit; }
img { max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 3px solid rgba(47,98,255,.42); outline-offset: 3px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.sf-skip-link { position: fixed; inset-inline-start: 16px; inset-block-start: -100px; z-index: 99999; padding: 10px 14px; color: #fff; background: var(--sf-ink); border-radius: 8px; text-decoration: none; }
.sf-skip-link:focus { inset-block-start: 16px; }
.sf-container { width: min(calc(100% - 40px), var(--sf-container)); margin-inline: auto; }
.sf-reading-width { max-width: var(--sf-reading); }
.sf-site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(220,229,241,.8); background: rgba(247,249,252,.84); backdrop-filter: blur(18px); }
.admin-bar .sf-site-header { top: 32px; }
.sf-site-header__inner { min-height: 84px; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 28px; }
.sf-brand { display: inline-flex; align-items: center; gap: 14px; min-width: 190px; text-decoration: none; }
.sf-brand__symbol { display: block; width: 64px; height: 52px; object-fit: contain; }
.sf-wordmark-slot { display: inline-block; inline-size: 110px; block-size: 28px; border: 0; background: transparent; visibility: hidden; }
.sf-primary-nav { justify-self: center; }
.sf-menu, .sf-footer-menu { display: flex; align-items: center; gap: 8px; padding: 0; margin: 0; list-style: none; }
.sf-menu a { display: block; padding: 9px 12px; color: #334155; border-radius: 10px; text-decoration: none; font-weight: 650; font-size: 14px; }
.sf-menu a:hover { color: var(--sf-primary); background: #fff; }
.sf-menu-empty { display: block; width: min(360px, 36vw); height: 38px; }
.sf-header-action-slot { width: 126px; height: 42px; border: 0; visibility: hidden; }
.sf-nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--sf-line); border-radius: 12px; background: #fff; cursor: pointer; }
.sf-nav-toggle__line { display: block; height: 2px; margin: 4px 0; border-radius: 99px; background: var(--sf-ink); }
.sf-main { min-height: 70vh; }
.sf-hero { position: relative; overflow: hidden; padding: clamp(70px, 10vw, 140px) 0 90px; }
.sf-hero::before { content: ""; position: absolute; width: 650px; height: 650px; inset-inline-end: -240px; inset-block-start: -230px; border-radius: 50%; background: radial-gradient(circle, rgba(15,195,238,.18), rgba(47,98,255,.08) 42%, transparent 70%); pointer-events: none; }
.sf-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0,1.05fr) minmax(360px,.95fr); align-items: center; gap: clamp(50px, 8vw, 110px); }
.sf-kicker { display: inline-flex; align-items: center; min-height: 30px; padding: 5px 10px; color: #2150d9; background: #edf4ff; border: 1px solid #c9dcff; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.sf-hero h1, .sf-page-hero h1, .sf-error-page h1 { margin: 24px 0 20px; max-width: 850px; font-size: clamp(42px, 6vw, 78px); line-height: 1.08; letter-spacing: -.055em; }
.rtl .sf-hero h1, .rtl .sf-page-hero h1, .rtl .sf-error-page h1 { letter-spacing: 0; }
.sf-hero__copy > p { max-width: 720px; margin: 0; color: var(--sf-muted); font-size: clamp(17px, 2vw, 21px); }
.sf-hero__status { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; padding: 10px 14px; color: #31405a; background: rgba(255,255,255,.78); border: 1px solid var(--sf-line); border-radius: 999px; box-shadow: var(--sf-shadow-sm); font-size: 13px; }
.sf-status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--sf-success); box-shadow: 0 0 0 5px rgba(8,123,86,.1); }
.sf-hero__visual { position: relative; min-height: 520px; display: grid; place-items: center; }
.sf-symbol-stage { position: relative; z-index: 2; width: min(420px, 82%); aspect-ratio: 1 / .88; display: grid; place-items: center; padding: 48px; border: 1px solid rgba(255,255,255,.8); border-radius: var(--sf-radius-lg); background: linear-gradient(145deg, rgba(255,255,255,.88), rgba(238,244,255,.8)); box-shadow: var(--sf-shadow-lg); transform: rotate(-2deg); }
.sf-symbol-stage::before { content: ""; position: absolute; inset: 16px; border: 1px solid rgba(47,98,255,.11); border-radius: 22px; }
.sf-symbol-stage__image { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 20px 25px rgba(49,86,192,.16)); }
.sf-orbit { position: absolute; border: 1px solid rgba(47,98,255,.13); border-radius: 50%; }
.sf-orbit--one { width: 510px; height: 510px; }
.sf-orbit--two { width: 380px; height: 380px; border-color: rgba(104,86,255,.18); transform: rotate(24deg); }
.sf-shell-section, .sf-content-section { padding: 80px 0; }
.sf-section-heading { max-width: 760px; margin-bottom: 34px; }
.sf-section-heading h2 { margin: 18px 0 0; font-size: clamp(32px, 4vw, 52px); line-height: 1.15; letter-spacing: -.04em; }
.rtl .sf-section-heading h2 { letter-spacing: 0; }
.sf-shell-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.sf-shell-card, .sf-entry-card { padding: 28px; border: 1px solid var(--sf-line); border-radius: var(--sf-radius-md); background: var(--sf-surface); box-shadow: var(--sf-shadow-sm); }
.sf-shell-card > span { color: var(--sf-primary); font-weight: 800; font-size: 12px; }
.sf-shell-card h3 { margin: 34px 0 10px; font-size: 22px; }
.sf-shell-card p, .sf-entry-card p { color: var(--sf-muted); }
.sf-page-hero { padding: 90px 0 46px; border-bottom: 1px solid var(--sf-line); background: linear-gradient(180deg,#fff,var(--sf-canvas)); }
.sf-page-hero h1 { font-size: clamp(38px,5vw,64px); }
.sf-prose { color: #233047; font-size: 18px; }
.sf-prose > * + * { margin-top: 1.3em; }
.sf-prose h2, .sf-prose h3 { color: var(--sf-ink); line-height: 1.25; }
.sf-entry-card + .sf-entry-card { margin-top: 18px; }
.sf-entry-card h2 { margin-top: 0; }
.sf-entry-card h2 a { text-decoration: none; }
.sf-site-footer { padding: 34px 0; color: #d6deea; background: #0b1220; }
.sf-site-footer__inner { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 24px; align-items: center; }
.sf-footer-brand { display: flex; align-items: center; gap: 12px; }
.sf-footer-brand__symbol { width: 50px; height: 42px; object-fit: contain; }
.sf-footer-brand .sf-wordmark-slot { width: 86px; height: 24px; border: 0; background: transparent; visibility: hidden; }
.sf-site-footer p { margin: 0; color: #94a3b8; font-size: 13px; }
.sf-footer-menu a { color: #cbd5e1; text-decoration: none; font-size: 13px; }
.sf-error-page { min-height: 68vh; display: grid; place-items: center; padding: 80px 0; text-align: center; }
.sf-error-page__inner { max-width: 720px; }
.sf-error-page__symbol { width: 150px; height: 125px; object-fit: contain; margin-bottom: 25px; }
.sf-button { display: inline-flex; margin-top: 20px; padding: 12px 18px; color: #fff; background: linear-gradient(135deg,var(--sf-primary),var(--sf-violet)); border-radius: 12px; text-decoration: none; font-weight: 750; box-shadow: 0 14px 30px rgba(47,98,255,.22); }
@media (max-width: 960px) {
    .sf-site-header__inner { grid-template-columns: auto auto; justify-content: space-between; }
    .sf-header-action-slot { display: none; }
    .sf-nav-toggle { display: block; }
    .sf-primary-nav { display: none; grid-column: 1 / -1; width: 100%; padding-bottom: 18px; }
    .sf-primary-nav.is-open { display: block; }
    .sf-menu { align-items: stretch; flex-direction: column; }
    .sf-menu-empty { width: 100%; }
    .sf-hero__grid { grid-template-columns: 1fr; }
    .sf-hero__visual { min-height: 430px; }
    .sf-shell-grid { grid-template-columns: 1fr; }
    .sf-site-footer__inner { grid-template-columns: 1fr; }
}
@media (max-width: 782px) { .admin-bar .sf-site-header { top: 46px; } }
@media (max-width: 620px) {
    .sf-container { width: min(calc(100% - 28px),var(--sf-container)); }
    .sf-site-header__inner { min-height: 72px; }
    .sf-brand { min-width: auto; }
    .sf-brand__symbol { width: 52px; height: 43px; }
    .sf-brand__wordmark { display: none; }
    .sf-hero { padding-top: 62px; }
    .sf-hero h1 { font-size: 42px; }
    .sf-hero__visual { min-height: 340px; }
    .sf-symbol-stage { padding: 34px; }
    .sf-orbit--one { width: 360px; height: 360px; }
    .sf-orbit--two { width: 270px; height: 270px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } .sf-symbol-stage { transform: none; } }
.sf-language-switcher { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border: 1px solid var(--sf-line); border-radius: 12px; background: rgba(255,255,255,.82); }
.sf-language-switcher a { min-width: 34px; padding: 6px 8px; border-radius: 8px; color: var(--sf-muted); text-align: center; text-decoration: none; font-size: 12px; font-weight: 800; }
.sf-language-switcher a.is-active { color: #fff; background: linear-gradient(135deg,var(--sf-primary),var(--sf-violet)); }
@media (max-width: 620px) { .sf-language-switcher a { min-width: 30px; padding: 5px 7px; } }

/* v0.6.0 — governed public core pages */
.sf-menu .current-menu-item > a { color: var(--sf-primary); background: #fff; box-shadow: 0 8px 22px rgba(15,23,42,.05); }
.sf-button-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }
.sf-button--secondary { color: var(--sf-primary); background: #fff; border: 1px solid #bfd0f5; box-shadow: none; }
.sf-button--secondary:hover { background: var(--sf-surface-soft); }
.sf-route-hero { position: relative; overflow: hidden; padding: 72px 0 66px; border-bottom: 1px solid var(--sf-line); background: linear-gradient(180deg,#fff 0%,var(--sf-canvas) 100%); }
.sf-route-hero::after { content: ""; position: absolute; inline-size: 520px; block-size: 520px; inset-inline-end: -190px; inset-block-start: -240px; border-radius: 50%; background: radial-gradient(circle,rgba(15,195,238,.16),rgba(47,98,255,.06) 48%,transparent 72%); pointer-events: none; }
.sf-route-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1fr) 260px; gap: 64px; align-items: center; }
.sf-route-hero h1 { max-width: 920px; margin: 20px 0 16px; font-size: clamp(42px,5.4vw,70px); line-height: 1.08; letter-spacing: -.05em; }
.rtl .sf-route-hero h1 { letter-spacing: 0; }
.sf-route-hero p { max-width: 800px; margin: 0; color: var(--sf-muted); font-size: clamp(17px,1.8vw,21px); }
.sf-route-hero__mark { width: 220px; aspect-ratio: 1 / .86; display: grid; place-items: center; padding: 35px; border: 1px solid rgba(255,255,255,.9); border-radius: 28px; background: rgba(255,255,255,.78); box-shadow: var(--sf-shadow-lg); transform: rotate(-2deg); }
.sf-route-hero__symbol { width: 100%; height: 100%; object-fit: contain; }
.sf-breadcrumb { margin-bottom: 34px; }
.sf-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 0; margin: 0; color: var(--sf-muted); list-style: none; font-size: 13px; }
.sf-breadcrumb li + li::before { content: "/"; margin-inline-end: 8px; color: #a5b2c4; }
.sf-breadcrumb a { text-decoration: none; }
.sf-route-section { padding: 78px 0; }
.sf-route-section--soft { border-block: 1px solid var(--sf-line); background: var(--sf-surface-soft); }
.sf-feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.sf-feature-grid--four { grid-template-columns: repeat(4,minmax(0,1fr)); }
.sf-feature-card { min-height: 270px; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--sf-line); border-radius: var(--sf-radius-md); background: var(--sf-surface); box-shadow: var(--sf-shadow-sm); }
.sf-feature-card__index { color: var(--sf-primary); font-size: 12px; font-weight: 850; }
.sf-feature-card h2 { margin: 42px 0 12px; font-size: 23px; line-height: 1.25; }
.sf-feature-card p { margin: 0; color: var(--sf-muted); }
.sf-feature-card__meta { display: inline-flex; align-self: flex-start; margin-top: auto; padding-top: 24px; color: #31405a; font-size: 12px; font-weight: 750; }
.sf-split-panel { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); gap: 70px; align-items: start; }
.sf-split-panel h2 { margin: 18px 0 0; font-size: clamp(32px,4vw,52px); line-height: 1.14; }
.sf-split-panel > p { margin: 8px 0 0; color: var(--sf-muted); font-size: 19px; }
.sf-story-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.sf-story-card { padding: 34px; border: 1px solid var(--sf-line); border-radius: var(--sf-radius-md); background: var(--sf-surface); box-shadow: var(--sf-shadow-sm); }
.sf-story-card h2 { margin: 20px 0 12px; font-size: 34px; }
.sf-story-card p { color: var(--sf-muted); font-size: 17px; }
.sf-story-card a { color: var(--sf-primary); font-weight: 800; text-decoration: none; }
.sf-commercial-notice { margin-bottom: 28px; padding: clamp(30px,5vw,56px); border: 1px solid #cbdaf8; border-radius: var(--sf-radius-lg); background: linear-gradient(135deg,#fff,#eef4ff); box-shadow: var(--sf-shadow-sm); }
.sf-commercial-notice h2 { max-width: 780px; margin: 18px 0 12px; font-size: clamp(32px,4vw,52px); line-height: 1.15; }
.sf-commercial-notice p { max-width: 850px; margin: 0; color: var(--sf-muted); font-size: 18px; }
.sf-inline-notice { margin-top: 24px; padding: 18px 20px; color: #31405a; border: 1px solid #d6e0ee; border-radius: 14px; background: #fff; }
.sf-route-cta { padding: 50px 0; color: #fff; background: #0b1220; }
.sf-route-cta__inner { display: flex; justify-content: space-between; gap: 36px; align-items: center; }
.sf-route-cta h2 { max-width: 720px; margin: 14px 0 0; color: #fff; font-size: clamp(28px,3.6vw,46px); line-height: 1.15; }
.sf-route-cta .sf-kicker { color: #bfccff; border-color: rgba(190,207,255,.25); background: rgba(47,98,255,.16); }
.sf-route-cta .sf-button--secondary { color: #fff; border-color: rgba(255,255,255,.3); background: transparent; }
@media (max-width: 1100px) { .sf-feature-grid--four { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 960px) {
    .sf-route-hero__grid { grid-template-columns: 1fr; }
    .sf-route-hero__mark { width: 180px; }
    .sf-feature-grid { grid-template-columns: 1fr; }
    .sf-feature-grid--four { grid-template-columns: 1fr; }
    .sf-split-panel, .sf-story-grid { grid-template-columns: 1fr; gap: 24px; }
    .sf-route-cta__inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 620px) {
    .sf-route-hero { padding-top: 48px; }
    .sf-route-hero h1 { font-size: 40px; }
    .sf-route-hero__mark { width: 145px; padding: 25px; }
    .sf-feature-card { min-height: 0; }
    .sf-feature-card h2 { margin-top: 28px; }
}
