/* =====================================================================================================
   Relax — R47/R48 site pages · shared base of the 20 sign-in themes · 2026-10-24
   Loaded after relax-auth.css (the form components .ra-*) and before the one theme file of the page
   (themes/tNN.css). Rules here:
     · every selector is under html.st (or a class that only these pages have) and every class starts with «st-»;
     · a theme file styles only under html.st-tNN and names its own classes «tNN-…», so two themes never meet;
     · links are written «.st a.st-x» so they win over relax-auth's «.ra-body a:not(.ra-btn)» by order, not by !important;
     · the form keeps relax-auth's components; a theme changes them only through tokens (--primary, --surface …).
   R48 adds (at the end): the frames of the six layout groups (st-full, st-split, st-side, st-wide, st-center; the «site» group
   themes draw their own), the effects of st.js (paused off screen, still with reduced motion, lighter on a low-power device) and the
   form's micro-interactions (ripple, error shake, focus glow, the card that stays while the step changes).
   ===================================================================================================== */

@font-face {
    font-family: "Vazirmatn";
    src: url("fonts/vazirmatn-wght.woff2") format("woff2-variations"), url("fonts/vazirmatn-wght.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* ---------------------------------------------------------------- shared tokens (a theme overrides them) */
html.st .ra-body {
    --st-card-bg: var(--surface);
    --st-card-border: var(--line);
    --st-card-radius: 22px;
    --st-card-shadow: var(--shadow-lg);
    --st-card-pad: 32px;
    --st-maxw: 1240px;
    --st-gutter: clamp(16px, 4vw, 48px);
    --st-head-weight: 900;
}
html.st .st-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
html.st .st-i {
    width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8;
    stroke-linecap: round; stroke-linejoin: round; vertical-align: middle;
}
html.st .st-i-sm { width: 16px; height: 16px; }
html.st .st-body { min-width: 0; }
html.st .st-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
html.st img { max-width: 100%; }

/* ---------------------------------------------------------------- brand */
.st a.st-brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; color: var(--text); text-decoration: none; }
.st a.st-brand:hover { text-decoration: none; }
.st .st-brand-text { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.st .st-brand-text strong { font-weight: 800; font-size: 16px; letter-spacing: -.2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st .st-brand-text small { color: var(--muted); font-size: 12px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st .st-mark {
    width: 44px; height: 44px; border-radius: 14px; flex: 0 0 auto; display: grid; place-items: center; color: var(--primary-text, #fff);
    background: linear-gradient(135deg, var(--primary), var(--primary-2) 70%, var(--accent));
    box-shadow: 0 12px 26px -14px rgba(var(--p-rgb), .85), inset 0 1px 0 rgba(255, 255, 255, .22);
    font-weight: 900; font-size: 20px; line-height: 1;
}
.st .st-mark .st-i { width: 23px; height: 23px; stroke-width: 2; }
.st .st-mark-logo { width: auto; min-width: 44px; max-width: 168px; padding: 0; background: none; box-shadow: none; border-radius: 0; }
.st .st-logo { display: block; max-height: 44px; max-width: 168px; width: auto; height: auto; object-fit: contain; }
.st .st-mark-logo.st-has-dark .st-logo-dark { display: none; }
.st[data-theme="dark"] .st-mark-logo.st-has-dark .st-logo-light { display: none; }
.st[data-theme="dark"] .st-mark-logo.st-has-dark .st-logo-dark { display: block; }

/* ---------------------------------------------------------------- small controls */
.st .st-iconbtn {
    min-width: 42px; height: 42px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    cursor: pointer; padding: 0; font: inherit; color: var(--muted);
    background: var(--ghost-bg); border: 1px solid var(--line-strong);
    transition: color .15s, border-color .15s, background .15s, transform .15s var(--ra-ease);
}
.st .st-iconbtn:hover { color: var(--text); border-color: rgba(var(--p-rgb), .45); }
.st .st-iconbtn:active { transform: scale(.96); }
.st .st-themebtn .st-i-sun { display: none; }
.st[data-theme="dark"] .st-themebtn .st-i-sun { display: inline; }
.st[data-theme="dark"] .st-themebtn .st-i-moon { display: none; }
.st .st-clock { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.st .st-clock .st-i { width: 17px; height: 17px; color: var(--link); }

/* ---------------------------------------------------------------- the form area (alerts, global sections, the step) */
.st .st-form { display: flex; flex-direction: column; min-width: 0; }
.st .st-form > .st-g:first-child { margin-top: 0; }
.st .st-card {
    position: relative; width: 100%; max-width: 460px; margin-inline: auto; padding: var(--st-card-pad);
    background: var(--st-card-bg); border: 1px solid var(--st-card-border); border-radius: var(--st-card-radius); box-shadow: var(--st-card-shadow);
}

/* features (icon · title · short text) */
.st .st-features { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.st .st-features li { display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
.st .st-fi {
    width: 38px; height: 38px; border-radius: 12px; flex: 0 0 auto; display: grid; place-items: center;
    color: var(--link); background: var(--primary-soft);
}
.st .st-fi .st-i { width: 19px; height: 19px; }
.st .st-ft { display: flex; flex-direction: column; min-width: 0; line-height: 1.6; padding-top: 6px; }
.st .st-ft b { font-weight: 700; font-size: 14px; color: var(--text); }
.st .st-ft small { font-size: 12.8px; color: var(--muted); }

/* ---------------------------------------------------------------- global sections (above / under the form, beside it) */
.st .st-g {
    display: flex; gap: 10px; align-items: flex-start; margin: 12px 0 0; padding: 11px 13px; border-radius: 14px;
    font-size: 13.3px; line-height: 1.85; color: var(--muted); background: var(--surface-2); border: 1px solid var(--line);
}
.st .st-g-body { min-width: 0; flex: 1 1 auto; }
.st .st-g-body > :first-child { margin-top: 0; }
.st .st-g-body > :last-child { margin-bottom: 0; }
.st .st-g .st-g-i { margin-top: 3px; width: 18px; height: 18px; }
.st .st-g-info { background: var(--info-soft); color: var(--info); border-color: rgba(59, 130, 246, .22); }
.st .st-g-warn { background: var(--warn-soft); color: var(--warn); border-color: rgba(245, 158, 11, .32); }
.st .st-g-ok { background: var(--success-soft); color: var(--success); border-color: rgba(var(--s-rgb), .26); }
.st .st-g-plain { background: transparent; border-color: transparent; padding: 2px 0; }
.st .st-form > .st-g + :not(.st-g) { margin-top: 16px; }
.st .st-form > .ra-alert + .st-g { margin-top: 0; }
.st .st-g .st-p { margin: 0; font-size: inherit; color: inherit; }

/* ---------------------------------------------------------------- content blocks (SiteRender) */
.st .st-h { margin: 22px 0 8px; font-size: 21px; line-height: 1.5; font-weight: 800; color: var(--text); letter-spacing: -.2px; }
.st .st-h.st-h3 { font-size: 17px; margin-top: 18px; }
.st .st-p { margin: 0 0 12px; color: var(--text); line-height: 2; }
.st .st-list { margin: 0 0 12px; padding-inline-start: 22px; line-height: 2; }
.st .st-list li + li { margin-top: 2px; }
.st a.st-a { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.st a.st-a:hover { text-decoration-thickness: 2px; }
.st .st-note {
    display: flex; gap: 10px; align-items: flex-start; margin: 0 0 14px; padding: 12px 14px; border-radius: 14px; line-height: 1.9;
    border: 1px solid var(--line); background: var(--surface-2);
}
.st .st-note .st-i { margin-top: 3px; }
.st .st-note-info { background: var(--info-soft); color: var(--info); border-color: rgba(59, 130, 246, .22); }
.st .st-note-warn { background: var(--warn-soft); color: var(--warn); border-color: rgba(245, 158, 11, .32); }
.st .st-note-ok { background: var(--success-soft); color: var(--success); border-color: rgba(var(--s-rgb), .26); }
.st .st-fig { margin: 0 0 14px; }
.st .st-fig img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); }
.st .st-fig figcaption { margin-top: 6px; font-size: 12.5px; color: var(--muted); text-align: center; }
.st a.st-file, .st a.st-map {
    display: flex; align-items: center; gap: 10px; margin: 0 0 12px; padding: 12px 14px; border-radius: 14px; text-decoration: none;
    color: var(--text); background: var(--surface-2); border: 1px solid var(--line); transition: border-color .15s, transform .15s;
}
.st a.st-file:hover, .st a.st-map:hover { border-color: rgba(var(--p-rgb), .45); text-decoration: none; transform: translateY(-1px); }
.st a.st-file span, .st a.st-map span { flex: 1 1 auto; min-width: 0; font-weight: 700; }
.st a.st-file small { font-size: 11px; font-weight: 800; color: var(--danger); background: var(--danger-soft); padding: 2px 8px; border-radius: 999px; }
.st a.st-file .st-i, .st a.st-map .st-i { color: var(--link); }
.st a.st-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; margin: 0 0 12px; margin-inline-end: 8px;
    padding: 0 20px; border-radius: 14px; font-weight: 800; font-size: 15px; text-decoration: none; transition: transform .15s, filter .15s, background .15s;
}
.st a.st-btn:hover { text-decoration: none; transform: translateY(-1px); }
.st a.st-btn-primary { color: var(--primary-text); background: linear-gradient(135deg, var(--primary), var(--primary-2)); border: 1px solid transparent; }
.st a.st-btn-primary:hover { filter: brightness(1.05); color: var(--primary-text); }
.st a.st-btn-outline { color: var(--link); background: transparent; border: 1.5px solid rgba(var(--p-rgb), .45); }
.st a.st-btn-outline:hover { background: var(--primary-soft); color: var(--link); }
.st .st-contact { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.st .st-contact li { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--text); }
.st .st-contact li .st-i { color: var(--link); }
.st .st-contact a { color: var(--text); text-decoration: none; overflow-wrap: anywhere; }
.st .st-contact span { overflow-wrap: anywhere; }
.st .st-hours { margin: 0 0 12px; display: grid; gap: 4px; }
.st .st-hours > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; border-radius: 10px; background: var(--surface-2); }
.st .st-hours dt { font-weight: 700; }
.st .st-hours dd { margin: 0; color: var(--muted); text-align: left; }
.st .st-faq { display: grid; gap: 8px; margin: 0 0 12px; }
.st .st-qa { border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); }
.st .st-qa summary {
    cursor: pointer; list-style: none; display: flex; align-items: center; gap: 10px; padding: 12px 14px; font-weight: 700; min-height: 48px;
}
.st .st-qa summary::-webkit-details-marker { display: none; }
.st .st-qa summary:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; border-radius: 14px; }
.st .st-qa-i { margin-inline-start: auto; color: var(--muted); transition: transform .2s; }
.st .st-qa[open] .st-qa-i { transform: rotate(180deg); }
.st .st-qa-a { padding: 0 14px 14px; color: var(--muted); line-height: 2; }
.st .st-table-wrap { overflow-x: auto; margin: 0 0 14px; border: 1px solid var(--line); border-radius: 14px; -webkit-overflow-scrolling: touch; }
.st .st-table-wrap:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; }
.st .st-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 420px; }
.st .st-table th, .st .st-table td { padding: 10px 12px; text-align: right; border-bottom: 1px solid var(--line); vertical-align: top; }
.st .st-table th { background: var(--surface-2); font-weight: 800; white-space: nowrap; }
.st .st-table tr:last-child td { border-bottom: 0; }
.st .st-hr { border: 0; height: 1px; margin: 18px 0; background: var(--line); }
.st .st-social { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; padding: 0; }
.st a.st-social-a {
    display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border-radius: 999px; text-decoration: none;
    color: var(--text); background: var(--surface-2); border: 1px solid var(--line); font-weight: 700; font-size: 13.5px;
}
.st a.st-social-a:hover { border-color: rgba(var(--p-rgb), .45); text-decoration: none; }
.st .st-trust { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 12px; }
.st a.st-trust-a { display: inline-block; padding: 6px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.st a.st-trust-a img { display: block; width: 96px; height: auto; }

/* ---------------------------------------------------------------- menu and footer */
.st .st-menu { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; min-width: 0; }
.st a.st-menu-a {
    display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 999px; font-weight: 700; font-size: 14px;
    color: var(--muted); text-decoration: none; white-space: nowrap;
}
.st a.st-menu-a > span { min-width: 0; max-width: 15em; overflow: hidden; text-overflow: ellipsis; }
.st a.st-menu-a:hover, .st a.st-menu-a[aria-current="page"] { color: var(--text); background: var(--primary-soft); text-decoration: none; }
.st .st-footer { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; color: var(--faint); font-size: 12.5px; }
.st .st-footnav { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 4px; }
.st a.st-footnav-a {
    display: inline-flex; align-items: center; min-height: 36px; padding: 0 10px; border-radius: 999px; color: var(--muted); font-weight: 600;
    font-size: 12.8px; text-decoration: none;
}
.st a.st-footnav-a:hover, .st a.st-footnav-a[aria-current="page"] { color: var(--text); background: var(--primary-soft); text-decoration: none; }
.st .st-foottext { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 0; }
.st .st-foottext .st-i { width: 15px; height: 15px; }
.st .st-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--line-strong); }
.st .st-contactcard .st-contact { margin: 0; }

/* ---------------------------------------------------------------- an area painted in the brand colour (a theme's promo panel, hero or slider)
   Text takes the colour chosen for text on the brand (--primary-text); blocks and features follow it, tinted with currentColor. */
.st .st-onbrand { color: var(--primary-text); }
.st .st-onbrand .st-h, .st .st-onbrand .st-p, .st .st-onbrand .st-list, .st .st-onbrand .st-ft b, .st .st-onbrand .st-ft small,
.st .st-onbrand .st-contact li, .st .st-onbrand .st-contact a, .st .st-onbrand .st-contact li .st-i, .st .st-onbrand .st-fig figcaption,
.st .st-onbrand .st-hours dd, .st .st-onbrand .st-qa-a, .st .st-onbrand .st-qa-i, .st .st-onbrand a.st-file .st-i, .st .st-onbrand a.st-map .st-i { color: inherit; }
.st .st-onbrand .st-ft small, .st .st-onbrand .st-hours dd, .st .st-onbrand .st-qa-a { opacity: .88; }
.st .st-onbrand .st-fi { color: inherit; background: rgba(255, 255, 255, .16); background: color-mix(in srgb, currentColor 16%, transparent); }
.st .st-onbrand .st-g, .st .st-onbrand .st-note, .st .st-onbrand .st-qa, .st .st-onbrand .st-hours > div, .st .st-onbrand a.st-file, .st .st-onbrand a.st-map,
.st .st-onbrand a.st-social-a, .st .st-onbrand .st-table-wrap, .st .st-onbrand .st-table th {
    color: inherit; background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22);
    background: color-mix(in srgb, currentColor 10%, transparent); border-color: color-mix(in srgb, currentColor 22%, transparent);
}
.st .st-onbrand .st-g-plain { background: transparent; border-color: transparent; }
.st .st-onbrand .st-table th, .st .st-onbrand .st-table td { border-color: rgba(255, 255, 255, .2); border-color: color-mix(in srgb, currentColor 20%, transparent); }
.st .st-onbrand .st-hr { background: rgba(255, 255, 255, .24); background: color-mix(in srgb, currentColor 24%, transparent); }
.st .st-onbrand a.st-a, .st .st-onbrand a.st-a:hover { color: inherit; }
.st .st-onbrand a.st-file:hover, .st .st-onbrand a.st-map:hover, .st .st-onbrand a.st-social-a:hover { border-color: currentColor; }
.st .st-onbrand a.st-btn-primary, .st .st-onbrand a.st-btn-primary:hover { color: var(--primary); background: var(--primary-text); }
.st .st-onbrand a.st-btn-outline, .st .st-onbrand a.st-btn-outline:hover { color: inherit; border-color: currentColor; background: transparent; }
.st .st-onbrand :focus-visible { outline-color: currentColor; }

/* ---------------------------------------------------------------- the hint under a refused sign-in (wrong domain) */
.st .st-alert-hint { display: block; margin-top: 4px; font-size: 12.8px; line-height: 1.8; opacity: .9; }

/* ---------------------------------------------------------------- preview bar */
.st .st-preview-bar {
    position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 16px;
    font-size: 13px; line-height: 1.7; color: #3b2a00; background: #ffd166; box-shadow: 0 4px 18px -8px rgba(0, 0, 0, .35); text-align: center;
}
.st .st-preview-bar b { font-weight: 800; }
.st .st-preview-bar .st-i { width: 18px; height: 18px; }
html.st-is-preview .ra-form { pointer-events: none; }
html.st-is-preview .ra-form .ra-btn { opacity: .75; }

/* the switched-off form of a preview link */
.st .st-fieldset { display: flex; flex-direction: column; gap: 16px; min-width: 0; margin: 0; padding: 0; border: 0; }

/* ---------------------------------------------------------------- a preview link that no longer works (no theme on this page) */
.st .st-gone { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 24px var(--st-gutter); }
.st .st-gone-card {
    width: 100%; max-width: 480px; text-align: center; padding: var(--st-card-pad); border-radius: var(--st-card-radius);
    background: var(--st-card-bg); border: 1px solid var(--st-card-border); box-shadow: var(--st-card-shadow);
}
.st .st-gone-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; color: var(--primary); background: var(--primary-soft); }
.st .st-gone-icon .ra-i { width: 30px; height: 30px; }
.st .st-gone-title { margin: 18px 0 8px; font-size: 20px; line-height: 1.6; font-weight: 900; color: var(--text); }
.st .st-gone-text { margin: 0; font-size: 14.5px; line-height: 2; color: var(--muted); }

/* ---------------------------------------------------------------- site pages (/p/slug): one frame for every theme */
.st .st-pg { position: relative; z-index: 1; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.st .st-pg-head {
    position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 12px var(--st-gutter); background: color-mix(in srgb, var(--bg) 86%, transparent); border-bottom: 1px solid var(--line);
    -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
}
@supports not (background: color-mix(in srgb, red 50%, blue)) { .st .st-pg-head { background: var(--bg); } }
.st .st-pg-tools { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.st a.st-pg-login {
    display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 14px; font-weight: 800; font-size: 14px;
    color: var(--primary-text); background: linear-gradient(135deg, var(--primary), var(--primary-2)); text-decoration: none; white-space: nowrap;
}
.st a.st-pg-login:hover { text-decoration: none; filter: brightness(1.05); color: var(--primary-text); }
.st .st-pg-menu { padding: 0 var(--st-gutter); border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.st .st-pg-menu::-webkit-scrollbar { display: none; }
.st .st-pg-menu .st-menu { flex-wrap: nowrap; padding: 6px 0; }
.st .st-pg-main { flex: 1 1 auto; width: 100%; max-width: 860px; margin: 0 auto; padding: 28px var(--st-gutter) 40px; }
.st .st-article {
    padding: clamp(20px, 4vw, 40px); border-radius: var(--st-card-radius); background: var(--st-card-bg); border: 1px solid var(--st-card-border);
    box-shadow: var(--st-card-shadow); min-width: 0; overflow-wrap: break-word;
}
.st .st-pg-title { margin: 0 0 18px; font-size: clamp(24px, 3.2vw, 32px); line-height: 1.45; font-weight: var(--st-head-weight); letter-spacing: -.4px; color: var(--text); }
.st .st-pg-foot { padding: 18px var(--st-gutter) calc(22px + env(safe-area-inset-bottom)); }
.st .st-pg-empty { text-align: center; padding: 40px 0; color: var(--muted); }
.st .st-pg-empty .st-i { width: 44px; height: 44px; color: var(--faint); }

@media (max-width: 575.98px) {
    html.st .ra-body { --st-card-pad: 20px; }
    .st .st-brand-text small { display: none; }
    .st .st-pg-head { padding-block: 10px; }
    .st a.st-pg-login span { display: none; }
    .st a.st-pg-login { padding: 0 12px; }
    .st .st-pg-main { padding-top: 18px; }
}
@media (max-width: 380px) {
    html.st .ra-body { --st-card-pad: 16px; }
    .st .st-mark { width: 40px; height: 40px; border-radius: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    html.st *, html.st *::before, html.st *::after { animation: none !important; transition: none !important; }
}

/* =====================================================================================================
   R48 · layout groups, effects and micro-interactions shared by the 20 themes
   ===================================================================================================== */
@property --st-ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@view-transition { navigation: auto; }

html.st .ra-body {
    --st-sheet-bg: var(--surface);
    --st-sheet-radius: 28px;
    --st-glass-bg: rgba(255, 255, 255, .7);
    --st-glass-border: rgba(255, 255, 255, .65);
    --st-glass-hi: rgba(255, 255, 255, .55);
    --st-ease: cubic-bezier(.2, .7, .2, 1);
}
html.st[data-theme="dark"] .ra-body {
    --st-glass-bg: rgba(14, 18, 34, .62);
    --st-glass-border: rgba(255, 255, 255, .12);
    --st-glass-hi: rgba(255, 255, 255, .08);
}

/* ---------------------------------------------------------------- shared pieces of every group */
.st .st-top {
    position: relative; z-index: 6; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0;
    padding: 18px var(--st-gutter) 0;
}
.st .st-tools { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.st .st-scene { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; contain: strict; }
.st .st-eyebrow {
    display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding: 5px 14px; border-radius: 999px; font-size: 13px; font-weight: 700;
    line-height: 1.6; color: var(--muted); background: color-mix(in srgb, var(--surface) 70%, transparent); border: 1px solid var(--line);
}
.st .st-eyebrow .st-i { width: 16px; height: 16px; color: var(--link); }
.st .st-live { position: relative; width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: var(--success); animation: st-live 2.2s ease-out infinite; }
@keyframes st-live { 0% { box-shadow: 0 0 0 0 rgba(var(--s-rgb), .55); } 70% { box-shadow: 0 0 0 8px rgba(var(--s-rgb), 0); } 100% { box-shadow: 0 0 0 0 rgba(var(--s-rgb), 0); } }
.st .st-headline { margin: 0; font-weight: var(--st-head-weight); letter-spacing: -.5px; line-height: 1.4; color: var(--text); text-wrap: balance; }
.st .st-headline em { font-style: normal; color: var(--link); }
.st .st-lead { margin: 0; color: var(--muted); font-size: 16px; line-height: 2; text-wrap: pretty; }
.st .st-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.st .st-chips li {
    display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 14px; border-radius: 999px; font-size: 13.5px; font-weight: 700;
    color: var(--text); background: color-mix(in srgb, var(--surface) 72%, transparent); border: 1px solid var(--line);
}
.st .st-chips .st-i { width: 17px; height: 17px; color: var(--link); }

/* the frosted card of the full-page and centre groups (a solid surface where the browser cannot blur) */
.st .st-glass {
    --st-card-bg: var(--st-glass-bg);
    --st-card-border: var(--st-glass-border);
    -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5);
    box-shadow: inset 0 1px 0 var(--st-glass-hi), var(--st-card-shadow);
}
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .st .st-glass { --st-card-bg: var(--surface); }
}
html.st.st-lite .st-glass { -webkit-backdrop-filter: none; backdrop-filter: none; --st-card-bg: var(--surface); }

/* a fine grain over colour fields (drawn once; no filter element in the page) */
.st .st-grain {
    position: absolute; inset: 0; pointer-events: none; opacity: .22; mix-blend-mode: soft-light;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1.2 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* a light that turns around a card's edge (the theme gives the colours with --st-ring, the width with --st-ring-w). A mask cuts the
   middle out, so the ring needs no z-index (the card is a stacking context of its own because of its view-transition name) */
.st .st-ringed { border-color: transparent; }
.st .st-ringed::before {
    content: ""; position: absolute; inset: -1px; z-index: 1; border-radius: inherit; pointer-events: none; padding: var(--st-ring-w, 1.5px);
    background: conic-gradient(from var(--st-ang), var(--st-ring, transparent 0 55%, var(--primary) 70%, var(--accent) 80%, transparent 92%));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
    animation: st-turn 6s linear infinite;
}
@keyframes st-turn { to { --st-ang: 360deg; } }

/* ---------------------------------------------------------------- group «full»: a scene under the whole page, the card floats */
.st .st-full { position: relative; z-index: 1; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; isolation: isolate; }
.st .st-full-main {
    position: relative; z-index: 2; flex: 1 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px;
    width: 100%; max-width: var(--st-maxw); margin: 0 auto; padding: 28px var(--st-gutter) 32px;
}
.st .st-full-copy { display: flex; flex-direction: column; align-items: center; gap: 12px; min-width: 0; text-align: center; }
.st .st-full .st-footer { position: relative; z-index: 2; padding: 0 var(--st-gutter) calc(20px + env(safe-area-inset-bottom)); }
/* the «معرفی» sections of the site go under the card (on a phone they stay on the sheet, under the form) */
.st .st-full-after { display: flex; flex-direction: column; width: 100%; max-width: 460px; }
.st .st-full-after:empty { display: none; }
.st .st-full-after > .st-g { margin-top: 0; }
.st .st-full-after > .st-g + .st-g { margin-top: 10px; }

/* the «معرفی» sections of the site under the form of the other groups */
.st .st-after { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.st .st-after:empty { display: none; }
.st .st-after > .st-g { margin: 0; }
.st .st-form + .st-after { margin-top: 18px; }

/* ---------------------------------------------------------------- group «split»: two equal halves, the form has no frame */
.st .st-split {
    position: relative; z-index: 1; min-height: 100vh; min-height: 100dvh; display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr);
}
.st .st-split-top { grid-column: 1; grid-row: 1; }
.st .st-split-main { grid-column: 1; grid-row: 2; display: flex; flex-direction: column; align-items: center; min-width: 0; padding: 0 var(--st-gutter); }
.st .st-split-form { width: 100%; max-width: 420px; margin: auto 0; padding: 28px 0 24px; }
.st .st-split-main > .st-footer { width: 100%; padding: 8px 0 calc(20px + env(safe-area-inset-bottom)); }
.st .st-split-vis {
    grid-column: 2; grid-row: 1 / span 2; position: sticky; top: 0; height: 100vh; height: 100dvh; min-width: 0; overflow: hidden; isolation: isolate;
}

/* ---------------------------------------------------------------- group «side»: a narrow drawer holds the form, the rest is a wide view */
.st .st-side { position: relative; z-index: 1; min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); }
.st .st-drawer {
    grid-column: 1; position: relative; z-index: 2; display: flex; flex-direction: column; min-width: 0; min-height: 100vh; min-height: 100dvh;
    background: var(--st-drawer-bg, var(--surface)); box-shadow: 0 0 0 1px var(--line), 30px 0 80px -40px rgba(0, 0, 0, .45);
}
.st .st-drawer > .st-top { padding: 22px 36px 0; }
.st .st-drawer-form { flex: 1 0 auto; display: flex; flex-direction: column; justify-content: center; width: 100%; padding: 28px 40px; }
.st .st-drawer > .st-footer { padding: 0 28px calc(18px + env(safe-area-inset-bottom)); }
.st .st-side-vis { grid-column: 2; position: sticky; top: 0; height: 100vh; height: 100dvh; min-width: 0; overflow: hidden; isolation: isolate; }

/* ---------------------------------------------------------------- group «wide»: a band across the top, the card sits on its edge */
.st .st-wide { --st-overlap: 190px; position: relative; z-index: 1; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.st .st-band {
    position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column;
    min-height: clamp(440px, 58vh, 640px); padding-bottom: var(--st-overlap);
}
.st .st-band-copy {
    position: relative; z-index: 2; flex: 1 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
    width: 100%; max-width: 760px; margin: 0 auto; padding: 18px var(--st-gutter) 26px; text-align: center;
}
.st .st-wide-main {
    position: relative; z-index: 3; flex: 1 0 auto; display: flex; flex-direction: column; align-items: center; gap: 18px; width: 100%;
    margin-top: calc(-1 * var(--st-overlap)); padding: 0 16px 34px;
}
.st .st-wide > .st-footer { padding: 0 16px calc(22px + env(safe-area-inset-bottom)); }

/* ---------------------------------------------------------------- group «center»: the card in the middle, the effect around it */
.st .st-center { position: relative; z-index: 1; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; isolation: isolate; }
.st .st-center-main {
    position: relative; z-index: 2; flex: 1 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
    width: 100%; padding: 24px var(--st-gutter) 34px;
}
.st .st-center-head { display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: 640px; text-align: center; }
.st .st-center > .st-footer { position: relative; z-index: 2; padding: 0 var(--st-gutter) calc(20px + env(safe-area-inset-bottom)); }

/* ---------------------------------------------------------------- effects: paused off screen, appear on scroll, rotate, type */
.st .st-fx-off, .st .st-fx-off *, .st .st-fx-off::before, .st .st-fx-off::after, .st .st-fx-off *::before, .st .st-fx-off *::after {
    animation-play-state: paused !important;
}
html.st.st-js [data-st-reveal] { transition: opacity .7s var(--st-ease), transform .7s var(--st-ease); transition-delay: var(--st-d, 0s); }
html.st.st-js [data-st-reveal]:not(.is-in) { opacity: 0; transform: translateY(22px); }
.st .st-rotate { position: relative; display: inline-grid; vertical-align: bottom; }
.st .st-rotate > [data-st-rot] { grid-area: 1 / 1; transition: opacity .5s var(--st-ease), transform .5s var(--st-ease); }
html.st.st-js .st-rotate > [data-st-rot]:not(.is-on) { opacity: 0; transform: translateY(.45em); pointer-events: none; }
html.st.st-js .st-rotate > [data-st-rot].is-on ~ [data-st-rot]:not(.is-on) { transform: translateY(-.45em); }
html.st:not(.st-js) .st-rotate > [data-st-rot]:not(:first-child) { visibility: hidden; }
.st [data-st-line].is-typing::after {
    content: ""; display: inline-block; width: .55em; height: 1.05em; margin-inline-start: 2px; vertical-align: -.15em; background: currentColor;
    animation: st-caret 1s steps(1) infinite;
}
@keyframes st-caret { 50% { opacity: 0; } }
html.st.st-js [data-st-type] [data-st-line]:not(.is-on) { visibility: hidden; }

/* ---------------------------------------------------------------- the form: ripple, error shake, focus glow, steps that stay in place */
.st .st-ripple {
    position: absolute; z-index: 0; border-radius: 50%; pointer-events: none; background: currentColor; opacity: .28; transform: scale(0);
    animation: st-ripple .62s var(--st-ease) forwards;
}
@keyframes st-ripple { to { transform: scale(1); opacity: 0; } }
.st .ra-btn > .ra-btn-label, .st .ra-btn > .ra-i, .st .ra-btn > .ra-spin { position: relative; z-index: 1; }
.st .st-shake { animation: st-shake .5s cubic-bezier(.36, .07, .19, .97) both; }
@keyframes st-shake {
    10%, 90% { transform: translateX(-1px); } 20%, 80% { transform: translateX(2px); }
    30%, 50%, 70% { transform: translateX(-5px); } 40%, 60% { transform: translateX(5px); }
}
.st .ra-control:focus-within .ra-input:not(.input-validation-error) { box-shadow: 0 0 0 1px var(--primary), 0 0 0 5px var(--ring), 0 8px 26px -10px rgba(var(--p-rgb), .55); }
.st .st-vt { view-transition-name: st-card; }
html.st.st-vt-theme .st-vt { view-transition-name: none; }
html.st::view-transition-group(st-card) { animation-duration: .42s; animation-timing-function: cubic-bezier(.2, .8, .2, 1); }
html.st::view-transition-old(root), html.st::view-transition-new(root) { animation-duration: .28s; }
html.st.st-vt-theme::view-transition-old(root), html.st.st-vt-theme::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
html.st.st-vt-theme::view-transition-new(root) { z-index: 2; }

/* ---------------------------------------------------------------- R48 breakpoints */
@media (max-width: 1199.98px) {
    .st .st-side { grid-template-columns: minmax(0, 400px) minmax(0, 1fr); }
    .st .st-drawer-form { padding: 24px 32px; }
    .st .st-drawer > .st-top { padding-inline: 28px; }
}
@media (max-width: 1023.98px) {
    /* split: the view becomes a band at the top (40% of a tablet), the brand bar sits on it */
    .st .st-split { display: flex; flex-direction: column; }
    .st .st-split-top { position: absolute; top: 0; inset-inline: 0; color: var(--st-top-ink, var(--text)); }
    .st .st-split-top a.st-brand, .st .st-split-top .st-brand-text small { color: inherit; }
    .st .st-split-top .st-iconbtn {
        color: inherit; background: rgba(255, 255, 255, .14); background: color-mix(in srgb, currentColor 14%, transparent);
        border-color: rgba(255, 255, 255, .3); border-color: color-mix(in srgb, currentColor 28%, transparent);
    }
    .st .st-split-vis { position: relative; height: clamp(320px, 40vh, 460px); }
    .st .st-split-main { flex: 1 0 auto; }
    .st .st-split-form { margin: 0; padding-top: 30px; }
}
@media (max-width: 767.98px) {
    /* side: the view becomes a thin strip on top, the drawer a sheet under it */
    .st .st-side { display: flex; flex-direction: column; }
    .st .st-side-vis { order: -1; position: relative; height: clamp(170px, 26vh, 230px); }
    .st .st-drawer { flex: 1 0 auto; min-height: 0; margin-top: -26px; border-radius: 26px 26px 0 0; box-shadow: 0 -20px 50px -28px rgba(0, 0, 0, .5); }
    .st .st-drawer > .st-top { padding: 18px 20px 0; }
    .st .st-drawer-form { justify-content: flex-start; padding: 20px 20px 24px; }
    .st .st-drawer > .st-footer { padding-inline: 16px; }
}
@media (max-width: 639.98px) {
    /* full: the scene stays above, the card becomes a sheet that rises from the bottom */
    .st .st-full-main { justify-content: flex-start; gap: 0; padding: 0; }
    .st .st-full-copy { flex: 1 0 auto; justify-content: flex-end; min-height: 108px; padding: 14px var(--st-gutter) 22px; }
    .st .st-full .st-lead, .st .st-full .st-chips { display: none; }
    .st .st-full-card {
        --st-card-bg: var(--st-sheet-bg); max-width: none; margin: 0; border-bottom-width: 0;
        border-radius: var(--st-sheet-radius) var(--st-sheet-radius) 0 0; padding-top: 30px;
        box-shadow: 0 -26px 60px -30px rgba(0, 0, 0, .5), inset 0 1px 0 var(--st-glass-hi);
    }
    .st .st-full-card::after {
        content: ""; position: absolute; top: 10px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px;
        background: var(--line-strong);
    }
    .st .st-full .st-footer, .st .st-full-after {
        background: var(--st-sheet-bg); padding-top: 6px; -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5);
    }
    .st .st-full-after { max-width: none; padding: 4px var(--st-gutter) 12px; }
    /* split: a curved band */
    .st .st-split-vis { height: clamp(220px, 32vh, 270px); clip-path: ellipse(120% 100% at 50% 0); }
    .st .st-split-form { padding-top: 18px; }
    /* wide: the band is about a third of the screen */
    .st .st-wide { --st-overlap: 70px; }
    .st .st-band { min-height: clamp(250px, 34vh, 320px); }
    .st .st-band-copy { padding-bottom: 18px; }
    .st .st-band-copy .st-lead { display: none; }
    .st .st-wide-main { padding: 0 12px 26px; }
    .st .st-center-main { padding-top: 16px; }
    .st .st-lead { font-size: 14.5px; }
}
@media (prefers-reduced-motion: reduce) {
    html.st.st-js [data-st-reveal]:not(.is-in) { opacity: 1; transform: none; }
    html.st .st-rotate > [data-st-rot]:not(:first-child) { display: none; }
    html.st .st-rotate > [data-st-rot]:first-child { opacity: 1 !important; transform: none !important; }
    html.st::view-transition-group(*), html.st::view-transition-old(*), html.st::view-transition-new(*) { animation: none !important; }
}
