:root {
  --pine-950: #062f29;
  --pine-900: #083d34;
  --pine-800: #0a5142;
  --green-700: #0b6b50;
  --green-600: #13805f;
  --green-100: #dff1ea;
  --green-50: #eef8f4;
  --red-700: #c4141b;
  --red-600: #d71920;
  --red-50: #fff1f1;
  --paper: #f7f8f5;
  --surface: #ffffff;
  --ink: #17231f;
  --ink-2: #34453f;
  --muted: #687872;
  --line: #dfe7e3;
  --line-soft: #edf1ef;
  --shadow-sm: 0 8px 24px rgba(8, 55, 45, .07);
  --shadow-lg: 0 28px 70px rgba(7, 43, 35, .14);
  --radius-sm: 9px;
  --radius: 14px;
  --radius-lg: 24px;
  --container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
html[dir="rtl"] body { font-family: Cairo, Tahoma, "Segoe UI", sans-serif; }
a { color: inherit; }
button, input { font: inherit; }
img { max-width: 100%; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
:focus-visible { outline: 3px solid rgba(11, 107, 80, .24); outline-offset: 3px; }

.site-header { position: sticky; z-index: 30; top: 0; min-height: 76px; background: rgba(255, 255, 255, .92); border-bottom: 1px solid rgba(214, 224, 219, .88); backdrop-filter: blur(16px); }
.site-header .container { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-lockup { min-width: 0; display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 59px; height: 43px; object-fit: contain; flex: 0 0 auto; }
.brand-copy { min-width: 0; }
.brand-copy strong { display: block; font-size: .92rem; font-weight: 800; letter-spacing: -.015em; }
.brand-copy span { display: block; margin-top: 2px; color: var(--muted); font-size: .71rem; }
.header-nav { display: flex; align-items: center; gap: 28px; }
.header-nav > a { color: var(--ink-2); font-size: .8rem; font-weight: 650; text-decoration: none; }
.header-nav > a:hover { color: var(--green-700); }
.header-actions { display: flex; align-items: center; gap: 9px; }
.language-link, .text-button { min-height: 40px; padding: 0 13px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: .77rem; font-weight: 700; text-decoration: none; }
.language-link svg, .text-button svg { width: 16px; height: 16px; }
.button { min-height: 44px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; color: #fff; background: var(--green-700); border: 1px solid var(--green-700); border-radius: var(--radius-sm); font-size: .8rem; font-weight: 750; text-decoration: none; box-shadow: 0 7px 18px rgba(11, 107, 80, .16); transition: transform .16s ease, background-color .16s ease; }
.button:hover { color: #fff; background: var(--pine-800); transform: translateY(-1px); }
.button svg { width: 16px; height: 16px; }
.button--large { min-height: 50px; padding-inline: 22px; font-size: .86rem; }
.button--ghost { color: var(--green-700); background: #fff; border-color: #bcd5cb; box-shadow: none; }
.button--ghost:hover { color: var(--pine-900); background: var(--green-50); }

.public-main { overflow: hidden; }
.hero { position: relative; min-height: 690px; display: grid; align-items: center; background: radial-gradient(circle at 86% 18%, rgba(11, 107, 80, .12), transparent 27%), radial-gradient(circle at 5% 96%, rgba(215, 25, 32, .065), transparent 27%), linear-gradient(180deg, #fbfcfa 0%, #f5f8f5 100%); border-bottom: 1px solid var(--line); }
.hero::before, .hero::after { content: ""; position: absolute; pointer-events: none; border: 1px solid rgba(11, 107, 80, .11); border-radius: 50%; }
.hero::before { width: 460px; height: 460px; inset-inline-end: -230px; top: -190px; }
.hero::after { width: 300px; height: 300px; inset-inline-start: -210px; bottom: -170px; border-color: rgba(215,25,32,.10); }
.hero-grid { position: relative; z-index: 1; padding-block: 76px 64px; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(440px, .92fr); align-items: center; gap: 66px; }
.eyebrow { margin: 0 0 15px; color: var(--green-700); font-size: .73rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.hero h1 { max-width: 760px; margin: 0; font-size: clamp(2.55rem, 4.7vw, 4.55rem); font-weight: 780; line-height: 1.02; letter-spacing: -.058em; }
html[dir="rtl"] .hero h1 { line-height: 1.16; letter-spacing: -.025em; }
.hero-lead { max-width: 650px; margin: 24px 0 0; color: var(--ink-2); font-size: 1.04rem; line-height: 1.75; }
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 11px; }
.trust-list { margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 22px; list-style: none; }
.trust-list li { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: .75rem; font-weight: 650; }
.trust-list svg { width: 15px; height: 15px; color: var(--green-700); }

.workflow-card { position: relative; padding: 22px; overflow: hidden; background: rgba(255,255,255,.94); border: 1px solid #d8e4de; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.workflow-card::before { content: ""; position: absolute; width: 260px; height: 190px; inset-inline-end: -62px; top: -40px; opacity: .07; background: url('../../images/background.jpg') center/contain no-repeat; }
.workflow-head { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.workflow-head span:first-child { display: block; color: var(--muted); font-size: .7rem; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.workflow-head strong { display: block; margin-top: 4px; font-size: 1.05rem; }
.workflow-state { padding: 7px 10px; color: var(--green-700); background: var(--green-50); border: 1px solid #d8ece4; border-radius: 999px; font-size: .66rem; font-weight: 750; white-space: nowrap; }
.workflow-line { position: absolute; inset-inline-start: 39px; top: 42px; bottom: 42px; width: 1px; background: #cfe0d8; }
.workflow-steps { position: relative; margin-top: 22px; display: grid; gap: 10px; }
.workflow-step { position: relative; min-height: 72px; padding: 12px 13px; display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 12px; background: #fbfcfb; border: 1px solid var(--line-soft); border-radius: 12px; }
.step-number { width: 36px; height: 36px; display: grid; place-items: center; color: var(--green-700); background: var(--green-100); border: 3px solid #fff; border-radius: 50%; font-size: .69rem; font-weight: 800; box-shadow: 0 0 0 1px #cfe0d8; }
.workflow-step strong { display: block; font-size: .78rem; }
.workflow-step p { margin: 4px 0 0; color: var(--muted); font-size: .68rem; line-height: 1.4; }
.step-check { width: 25px; height: 25px; display: grid; place-items: center; color: var(--green-700); background: var(--green-50); border-radius: 50%; }
.step-check svg { width: 13px; height: 13px; }
.workflow-foot { margin-top: 14px; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); border-top: 1px solid var(--line-soft); font-size: .68rem; }
.workflow-foot strong { color: var(--ink-2); }

.snapshot { position: relative; z-index: 3; margin-top: -35px; }
.snapshot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); }
.snapshot-item { min-height: 106px; padding: 20px 22px; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 14px; border-inline-end: 1px solid var(--line-soft); }
.snapshot-item:last-child { border-inline-end: 0; }
.snapshot-icon { width: 40px; height: 40px; display: grid; place-items: center; color: var(--green-700); background: var(--green-50); border-radius: 11px; }
.snapshot-icon svg { width: 18px; height: 18px; display: block; }
.snapshot-item strong { display: block; font-size: 1.46rem; font-weight: 780; line-height: 1; }
.snapshot-item > div > span { display: block; margin-top: 6px; color: var(--muted); font-size: .69rem; line-height: 1.35; }

.section { padding-block: 92px; }
.section--compact { padding-block: 70px; }
.capability-section { background: #fff; border-block: 1px solid var(--line); }
.capability-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px; }
.capability { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 15px; }
.capability-icon { width: 42px; height: 42px; display: grid; place-items: center; color: var(--red-700); background: var(--red-50); border-radius: 11px; }
.capability-icon svg { width: 19px; height: 19px; }
.capability h3 { margin: 2px 0 0; font-size: .88rem; }
.capability p { margin: 8px 0 0; color: var(--muted); font-size: .73rem; line-height: 1.65; }

.public-footer { padding-block: 26px; color: var(--muted); background: #fff; border-top: 1px solid var(--line); }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-grid p { margin: 0; font-size: .69rem; }
.footer-brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink-2); font-size: .72rem; font-weight: 750; }
.footer-brand img { width: 38px; height: 28px; object-fit: contain; }

.auth-body { min-height: 100vh; overflow-x: hidden; background: #fff; }
body.auth-body { display: block; align-items: initial; justify-content: initial; padding: 0; }
.auth-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(430px, .84fr) minmax(560px, 1.16fr); }
.auth-story { position: relative; min-height: 100vh; padding: 44px clamp(42px, 5vw, 78px); display: flex; flex-direction: column; overflow: hidden; color: #fff; background: radial-gradient(circle at 9% 92%, rgba(215,25,32,.16), transparent 24%), radial-gradient(circle at 92% 12%, rgba(47,161,119,.22), transparent 24%), linear-gradient(145deg, #052d29 0%, #083e35 55%, #0a5142 100%); }
.auth-story::before { content: ""; position: absolute; width: 430px; height: 310px; inset-inline-end: -100px; bottom: 42px; opacity: .08; filter: grayscale(1) brightness(3); background: url('../../images/background.jpg') center/contain no-repeat; }
.auth-brand { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 13px; }
.auth-logo-wrap { width: 66px; height: 52px; padding: 6px; display: grid; place-items: center; background: #fff; border-radius: 12px; }
.auth-logo-wrap img { width: 55px; }
.auth-brand strong { display: block; font-size: .92rem; }
.auth-brand span { display: block; margin-top: 3px; color: rgba(233,246,240,.66); font-size: .7rem; }
.auth-story-main { position: relative; z-index: 2; margin-block: auto; padding-block: 66px; }
.auth-story .eyebrow { color: #9be0c8; }
.auth-story h1 { max-width: 570px; margin: 0; font-size: clamp(2.5rem, 4.2vw, 4.2rem); line-height: 1.04; letter-spacing: -.055em; }
html[dir="rtl"] .auth-story h1 { line-height: 1.2; letter-spacing: -.02em; }
.auth-story-lead { max-width: 520px; margin: 20px 0 0; color: rgba(235,247,242,.72); font-size: .91rem; line-height: 1.75; }
.auth-assurances { margin: 32px 0 0; padding: 0; display: grid; gap: 13px; list-style: none; }
.auth-assurances li { display: flex; align-items: center; gap: 10px; color: rgba(244,251,248,.88); font-size: .76rem; font-weight: 650; }
.auth-assurances span { width: 25px; height: 25px; display: grid; place-items: center; color: #9be0c8; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.09); border-radius: 7px; }
.auth-assurances svg { width: 13px; height: 13px; }
.portal-tags { margin-top: 35px; display: flex; flex-wrap: wrap; gap: 7px; }
.portal-tags span { padding: 7px 10px; color: rgba(244,251,248,.74); background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.09); border-radius: 999px; font-size: .65rem; font-weight: 700; }
.auth-story-foot { position: relative; z-index: 2; color: rgba(231,244,238,.55); font-size: .66rem; }

.auth-main { position: relative; min-height: 100vh; padding: 34px clamp(38px, 6vw, 92px); display: flex; flex-direction: column; background: #fff; }
.auth-main-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: .74rem; font-weight: 700; text-decoration: none; }
.back-link:hover { color: var(--green-700); }
.back-link svg { width: 15px; height: 15px; }
html[dir="rtl"] .back-link svg { transform: scaleX(-1); }
.auth-form-wrap { width: min(100%, 470px); margin: auto; padding-block: 64px; }
.auth-form-kicker { color: var(--green-700); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.auth-form-wrap h1 { margin: 12px 0 0; font-size: clamp(2.1rem, 3.2vw, 3rem); letter-spacing: -.045em; }
html[dir="rtl"] .auth-form-wrap h1 { letter-spacing: -.02em; }
.auth-form-intro { margin: 12px 0 0; color: var(--muted); font-size: .82rem; line-height: 1.65; }
.auth-alert { margin-top: 22px; padding: 12px 14px; display: flex; align-items: flex-start; gap: 9px; border: 1px solid; border-radius: 9px; font-size: .72rem; line-height: 1.5; }
.auth-alert svg { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 1px; }
.auth-alert-error { color: #9f2f3c; background: #fff3f4; border-color: #f1d4d8; }
.auth-alert-success { color: var(--green-700); background: var(--green-50); border-color: #d6ebe3; }
.prototype-alert { margin-top: 23px; padding: 11px 13px; display: flex; align-items: flex-start; gap: 9px; color: var(--green-700); background: var(--green-50); border: 1px solid #dcece6; border-radius: 9px; font-size: .7rem; line-height: 1.45; }
.prototype-alert svg { width: 15px; height: 15px; flex: 0 0 auto; margin-top: 1px; }
.auth-form { margin-top: 25px; }
.field { margin-bottom: 17px; }
.field-label { margin-bottom: 7px; display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--ink-2); font-size: .73rem; font-weight: 750; }
.input-shell { position: relative; }
.input-shell > svg { position: absolute; z-index: 2; inset-inline-start: 14px; top: 50%; width: 17px; height: 17px; color: #71817b; transform: translateY(-50%); pointer-events: none; }
.input-shell input { width: 100%; min-height: 50px; padding: 0 46px; color: var(--ink); background: #fbfcfb; border: 1px solid #d8e2dd; border-radius: 10px; outline: 0; font-size: .8rem; transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease; }
.input-shell input:focus { background: #fff; border-color: var(--green-600); box-shadow: 0 0 0 4px rgba(11,107,80,.09); }
.input-shell input::placeholder { color: #95a19c; }
.password-toggle { position: absolute; z-index: 3; inset-inline-end: 8px; top: 50%; width: 34px; height: 34px; display: grid; place-items: center; color: var(--muted); background: transparent; border: 0; border-radius: 7px; transform: translateY(-50%); cursor: pointer; }
.password-toggle:hover { color: var(--green-700); background: var(--green-50); }
.password-toggle svg { width: 17px; height: 17px; }
.auth-submit { width: 100%; min-height: 51px; margin-top: 5px; border: 0; cursor: pointer; }
.support-note { margin-top: 21px; padding-top: 20px; color: var(--muted); border-top: 1px solid var(--line-soft); font-size: .7rem; line-height: 1.6; text-align: center; }
.support-note a { color: var(--green-700); font-weight: 750; text-decoration: none; }
.security-note { margin-top: 18px; display: flex; justify-content: center; align-items: center; gap: 7px; color: #84918c; font-size: .64rem; }
.security-note svg { width: 13px; height: 13px; }
.auth-main-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; color: #84918c; font-size: .63rem; }
.auth-main-foot a { color: var(--muted); text-decoration: none; }

@media (max-width: 1050px) {
  .header-nav { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(390px, .88fr); gap: 36px; }
  .auth-shell { grid-template-columns: minmax(360px, .72fr) minmax(500px, 1.28fr); }
}
@media (max-width: 860px) {
  .hero { min-height: auto; }
  .hero-grid { padding-block: 64px 86px; grid-template-columns: 1fr; }
  .hero-copy { max-width: 720px; }
  .workflow-card { max-width: 650px; }
  .snapshot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .snapshot-item:nth-child(2) { border-inline-end: 0; }
  .snapshot-item:nth-child(-n+2) { border-bottom: 1px solid var(--line-soft); }
  .capability-grid { grid-template-columns: 1fr; gap: 26px; }
  .auth-shell { display: block; }
  .auth-story { min-height: 310px; padding: 30px 34px; }
  .auth-story-main { padding-block: 48px 20px; }
  .auth-story h1 { max-width: 640px; font-size: 2.65rem; }
  .auth-assurances, .portal-tags { display: none; }
  .auth-story-foot { display: none; }
  .auth-main { min-height: calc(100vh - 310px); padding: 26px 34px; }
}
@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .site-header, .site-header .container { min-height: 68px; }
  .brand-mark { width: 48px; height: 36px; }
  .brand-copy span { display: none; }
  .header-actions .button { min-width: 42px; padding-inline: 11px; }
  .header-actions .button .button-label { display: none; }
  .language-link { min-width: 42px; padding-inline: 9px; }
  .hero-grid { padding-block: 50px 78px; gap: 38px; }
  .hero h1 { font-size: 2.55rem; }
  .hero-lead { font-size: .89rem; line-height: 1.65; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .trust-list { display: grid; gap: 10px; }
  .workflow-card { padding: 16px; border-radius: 17px; }
  .workflow-state { display: none; }
  .workflow-step { grid-template-columns: 33px minmax(0, 1fr); }
  .workflow-step .step-check { display: none; }
  .workflow-line { inset-inline-start: 32px; }
  .snapshot { margin-top: -28px; }
  .snapshot-item { min-height: 96px; padding: 16px; gap: 10px; }
  .snapshot-icon { width: 35px; height: 35px; }
  .snapshot-item strong { font-size: 1.25rem; }
  .snapshot-item > div > span { font-size: .62rem; }
  .section { padding-block: 70px; }
  .footer-grid { align-items: flex-start; flex-direction: column; }
  .auth-story { min-height: 236px; padding: 24px 20px; }
  .auth-logo-wrap { width: 56px; height: 45px; }
  .auth-brand span { font-size: .63rem; }
  .auth-story-main { padding-block: 38px 8px; }
  .auth-story .eyebrow { margin-bottom: 9px; }
  .auth-story h1 { font-size: 2.04rem; }
  .auth-story-lead { margin-top: 12px; font-size: .75rem; line-height: 1.55; }
  .auth-main { min-height: calc(100vh - 236px); padding: 22px 20px; }
  .auth-main-top .language-link { min-height: 36px; }
  .auth-form-wrap { padding-block: 45px; }
  .auth-form-wrap h1 { font-size: 2rem; }
  .auth-main-foot { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
