:root { color-scheme: light; --ink: #183e39; --teal: #115e59; --teal-dark: #0c4a42; --muted: #556763; --line: #738e83; --paper: #f5f7f4; --error: #a52727; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'IBM Plex Sans Arabic', sans-serif; font-size: 16px; line-height: 1.65; }
button, input, textarea, select { font: inherit; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
a { color: var(--teal); text-underline-offset: 5px; }
button, select, input[type=checkbox] { cursor: pointer; }
button { border: 0; }
[hidden] { display: none !important; }
::selection { background: #d8e8dd; color: var(--teal-dark); }
:focus-visible { outline: 3px solid #a47716; outline-offset: 4px; }
input, textarea { caret-color: var(--teal); }
.site-header { max-width: 1192px; margin: auto; padding: 24px 36px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--teal-dark); font-size: 25px; font-weight: 600; }
.brand img { border-radius: 50%; }
.language-button { min-height: 44px; display: inline-flex; align-items: center; gap: 9px; padding: 8px 12px; background: transparent; color: var(--teal-dark); border-radius: 8px; }
.language-button:hover { background: #e5ece6; }
.language-button svg { width: 21px; height: 21px; }
.layout { max-width: 1192px; margin: 32px auto 64px; padding: 0 36px; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 72px; align-items: start; }
.introduction { padding-block-start: 28px; position: sticky; top: 28px; }
h1 { font-size: clamp(32px, 3.4vw, 43px); line-height: 1.45; font-weight: 600; margin: 0 0 24px; color: var(--teal-dark); text-wrap: balance; }
.lead { font-size: 18px; line-height: 1.95; margin: 0; max-width: 38ch; }
.privacy-note { display: flex; gap: 12px; margin-block: 36px 22px; max-width: 38ch; color: var(--muted); font-size: 14px; }
.privacy-note svg { width: 22px; height: 22px; flex: none; margin-top: 4px; }
.privacy-note p { margin: 0; }
.home-link { font-size: 14px; }
.response-panel { background: #fff; border-radius: 16px; padding: 32px 36px; box-shadow: 0 8px 36px #183e3908; }
.form-intro { margin: 0 0 28px; font-size: 14px; color: var(--muted); }
.choice-group { min-width: 0; margin: 0 0 28px; padding: 0; border: 0; }
.choice-group legend { padding: 0; margin-bottom: 8px; font-weight: 600; font-size: 17px; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.choice { display: flex; align-items: center; gap: 10px; min-height: 68px; padding: 12px; margin: 0; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; font-size: 14px; line-height: 1.55; font-weight: 400; }
.choice:hover { border-color: var(--teal); background: #f5f9f6; }
.choice:has(:checked) { background: #e7f2eb; border-color: var(--teal); box-shadow: inset 0 0 0 1px var(--teal); }
.choice:has(:focus-visible) { outline: 3px solid #a47716; outline-offset: 3px; }
.choice input { width: 18px; height: 18px; flex: none; margin: 0; accent-color: var(--teal); cursor: pointer; }
.choice input:focus-visible { outline: none; }
.choice:has(:disabled) { cursor: wait; opacity: .7; }
.optional-section { border-top: 1px solid #e4e9e5; }
.optional-section summary { min-height: 48px; padding-block: 12px; cursor: pointer; font-size: 14px; color: var(--teal); }
.optional-section summary:hover { text-decoration: underline; text-underline-offset: 4px; }
.details-content { padding: 4px 0 20px; }
#contact-details { margin-bottom: 20px; }
label { display: block; font-size: 16px; font-weight: 500; margin-bottom: 9px; }
textarea, select, input[type=email] { width: 100%; display: block; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 11px 13px; color: var(--ink); min-height: 48px; }
textarea { resize: vertical; min-height: 87px; max-height: 360px; }
textarea::placeholder, input::placeholder { color: #6b756f; opacity: 1; }
textarea:hover, select:hover, input[type=email]:hover { border-color: #49675a; }
textarea:focus, select:focus, input[type=email]:focus { border-color: var(--teal); }
.hint { margin: -3px 0 10px; font-size: 13px; color: var(--muted); }
.optional { font-weight: 400; color: var(--muted); font-size: 13px; margin-inline-start: 8px; }
.checkbox-label { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 24px; font-size: 13px; font-weight: 400; line-height: 1.7; cursor: pointer; padding-block: 4px; }
input[type=checkbox] { width: 19px; height: 19px; accent-color: var(--teal); flex: none; margin: 2px 0 0; }
.submit-button { display: block; width: 100%; padding: 13px 20px; background: var(--teal); color: #fff; font-weight: 500; border-radius: 9px; text-align: center; text-decoration: none; min-height: 52px; transition: background .15s ease; }
.submit-button:hover { background: var(--teal-dark); }
.submit-button:disabled { cursor: wait; background: #55756e; }
.submit-note { text-align: center; font-size: 13px; color: var(--muted); margin: 12px 0 0; }
.field-error { color: var(--error); font-size: 13px; margin: 6px 0; }
[aria-invalid=true] { border-color: var(--error) !important; }
.submission-error { background: #fff1ed; color: #912929; padding: 12px 14px; margin-bottom: 16px; border-radius: 8px; font-size: 14px; }
.honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.success { padding: 38px 0; text-align: center; }
.success-icon { width: 52px; height: 52px; color: var(--teal); }
.success h2 { font-size: 26px; line-height: 1.6; font-weight: 600; margin: 18px 0 12px; }
.success p { margin: 0 0 28px; color: var(--muted); }
footer { max-width: 1192px; margin: auto; padding: 24px 36px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--muted); }
.skip-link { position: absolute; inset-inline-start: 20px; top: -100px; z-index: 2; background: #fff; padding: 12px 20px; }
.skip-link:focus { top: 10px; }
@media (max-width: 850px) {
  .layout { gap: 36px; padding-inline: 24px; }
  .site-header, footer { padding-inline: 24px; }
  .response-panel { padding: 28px 24px; }
  h1 { font-size: 32px; }
}
@media (max-width: 680px) {
  .site-header { padding: 16px 20px; }
  .layout { display: block; margin: 14px auto 32px; padding: 0 20px; }
  .introduction { position: static; padding: 12px 0 25px; }
  h1 { font-size: 30px; margin-bottom: 14px; line-height: 1.5; }
  h1 br { display: none; }
  .lead { font-size: 16px; line-height: 1.8; max-width: none; }
  .privacy-note { margin: 20px 0 0; max-width: none; font-size: 13px; }
  .home-link { display: none; }
  .response-panel { padding: 25px 20px; }
  .choice { padding: 10px; gap: 8px; min-height: 74px; }
  .form-intro { margin-bottom: 23px; }
  footer { padding: 20px; }
}
@media (max-width: 360px) { .choice-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

.reason-details { padding-top: 18px; }

/* Each screen contains one question; progress replaces the former introduction. */
.layout { display: block; max-width: 800px; margin-top: 24px; }
.response-panel { padding: 32px 36px; }
.step-progress { margin-bottom: 16px; }
.step-progress p { font-size: 14px; color: var(--teal); margin: 0 0 10px; }
progress { appearance: none; display: block; width: 100%; height: 5px; border: 0; border-radius: 3px; overflow: hidden; background: #e4e9e5; color: var(--teal); }
progress::-webkit-progress-bar { background: #e4e9e5; }
progress::-webkit-progress-value { background: var(--teal); }
progress::-moz-progress-bar { background: var(--teal); }
.save-note, .resume-note { font-size: 13px; color: var(--muted); margin: 0 0 24px; }
.resume-note { color: var(--teal); font-weight: 500; }
.wizard-step { margin-bottom: 26px; }
.wizard-step legend, .wizard-step h1 { font-size: 24px; font-weight: 600; line-height: 1.6; margin: 0 0 12px; padding: 0; color: var(--teal-dark); }
.wizard-step .hint { margin: 0 0 16px; }
.wizard-step textarea { min-height: 120px; }
.step-navigation { display: flex; gap: 12px; }
.step-navigation .submit-button { flex: 1; }
.previous-button { border: 1px solid var(--line); border-radius: 9px; padding: 12px 24px; background: #fff; color: var(--teal); min-height: 52px; }
.previous-button:hover { background: #edf4ef; }
.previous-button:disabled { cursor: wait; opacity: .6; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 680px) {
  .layout { margin-top: 12px; padding-inline: 16px; }
  .response-panel { padding: 24px 20px; }
  .wizard-step legend, .wizard-step h1 { font-size: 22px; }
  .previous-button { padding-inline: 18px; }
}

.conflict-action { margin-bottom: 16px; width: 100%; }

#linked-invitation-notice{margin-top:10px;}
