@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('./plex-latin-400.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('./plex-latin-500.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('./plex-latin-600.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 400; font-display: swap; src: url('./plex-arabic-400.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 500; font-display: swap; src: url('./plex-arabic-500.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 600; font-display: swap; src: url('./plex-arabic-600.woff2') format('woff2'); }
:root { --canvas: #eef4f6; --surface: #fff; --ink: #142e42; --muted: #526575; --teal: #076c68; --line: #d6e1e5; font-family: 'IBM Plex Sans', sans-serif; color: var(--ink); background: var(--canvas); }
:root:lang(ar) { font-family: 'IBM Plex Sans Arabic', 'IBM Plex Sans', sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; font-size: 16px; line-height: 1.7; }
a { color: var(--teal); text-underline-offset: 4px; }
bdi { unicode-bidi: isolate; }
bdi[dir='ltr'] { font-family: 'IBM Plex Sans', sans-serif; }
h1, h2, p { margin: 0; }
h1 { font-size: clamp(26px, 4vw, 34px); font-weight: 500; line-height: 1.4; letter-spacing: -.02em; }
:lang(ar) h1 { letter-spacing: 0; line-height: 1.65; }
h2 { font-size: 19px; font-weight: 600; line-height: 1.6; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 5px; }
main:focus { outline: none; }
.skip-link { position: absolute; inset-block-start: 8px; inset-inline-start: 8px; padding: 12px; background: white; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.masthead { max-inline-size: 1120px; padding: 32px; margin-inline: auto; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.brand { display: flex; flex-direction: column; }
.brand > bdi { font-size: 25px; font-weight: 600; letter-spacing: .035em; }
.brand > span { color: var(--muted); font-size: 13px; }
.language { min-block-size: 44px; display: inline-flex; align-items: center; padding: 8px; }
.auth-sheet { inline-size: min(580px, calc(100% - 40px)); margin: 38px auto 0; padding: clamp(24px, 5vw, 44px); border: 1px solid var(--line); border-block-start: 4px solid var(--teal); border-radius: 12px; background: var(--surface); }
.intro { margin-block: 16px 26px; color: var(--muted); }
.google-button { display: flex; justify-content: center; align-items: center; gap: 12px; min-block-size: 48px; padding: 12px 20px; border: 1px solid #747775; border-radius: 24px; color: #1f1f1f; background: white; text-decoration: none; font-weight: 500; }
.google-button svg { flex: 0 0 20px; }
.google-button:hover { background: #f5f7f8; }
.policy-note { border-block-start: 1px solid var(--line); margin-block-start: 28px; padding-block-start: 22px; color: var(--muted); font-size: 14px; }
.notice { margin-block: 22px; padding: 16px; background: #faf2df; border-inline-start: 3px solid #8b6725; }
.identity { margin-block: 24px; overflow-wrap: anywhere; min-inline-size: 0; }
.identity > * { display: block; }
.identity > span { font-size: 14px; color: var(--muted); }
.identity strong { font-weight: 500; margin-block: 4px; }
.identity > bdi { color: var(--muted); font-size: 14px; }
.access-state { padding: 20px; border-inline-start: 3px solid #8b6725; background: #faf6eb; }
.access-state p { margin-block-start: 8px; }
.state-approved { border-color: var(--teal); background: #e9f4f2; }
.state-rejected, .state-suspended, .state-missing { border-color: #873f40; background: #f9eeee; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 24px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-block-size: 46px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; font-weight: 500; }
.primary { background: var(--teal); color: white; border-color: var(--teal); }
.secondary { background: white; }
.account-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-block-start: 28px; border-block-start: 1px solid var(--line); padding-block-start: 18px; }
.account-actions a, .text-button { display: inline-flex; align-items: center; min-block-size: 44px; }
.text-button { border: 0; padding: 0; background: transparent; color: var(--teal); text-decoration: underline; text-underline-offset: 4px; }
.site-footer { inline-size: min(580px, calc(100% - 40px)); margin: 24px auto 40px; display: flex; justify-content: space-between; align-items: center; gap: 18px; color: var(--muted); font-size: 13px; }
.site-footer a { display: inline-flex; align-items: center; min-block-size: 44px; }
.privacy-sheet { max-inline-size: 780px; inline-size: calc(100% - 40px); }
.privacy-section { margin-block-start: 28px; }
.privacy-section p { margin-block-start: 8px; max-inline-size: 72ch; }
@media (max-width: 500px) { .masthead { padding: 20px; gap: 12px; } .auth-sheet { margin-block-start: 18px; } .actions { flex-direction: column; } .actions > a { inline-size: 100%; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }
