/* Seha Match — tokens adapted from OroodMix app.css (same three-layer structure, footer layout), recoloured teal for healthcare.
   Contrast measured by scripts/contrast.mjs (WCAG AA minimum, AAA for body text) in both themes. */
@font-face { font-family: "Readex Pro"; font-style: normal; font-display: optional; font-weight: 160 700;
  src: url(/fonts/readex-pro-arabic-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Readex Pro"; font-style: normal; font-display: optional; font-weight: 160 700;
  src: url(/fonts/readex-pro-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
:root {
  --brand: #0B5753; --brand-raised: #12706B; --on-brand: #FFFFFF; --on-brand-soft: #CDE6E3; --accent: #A8E6D8;
  --paper: #F3F8F7; --surface: #FFFFFF; --ink: #0A2B29; --ink-soft: #3E5A57; --link: #0B5F8A;
  --notice-bg: #FFF4E0; --notice-ink: #5C3300; --notice-line: #B36B00; --focus: #0B5F8A; --r: 14px;
}
@media (prefers-color-scheme: dark) {
  :root { --brand: #0A1A19; --brand-raised: #12302E; --on-brand: #EAF5F3; --on-brand-soft: #B3D2CE; --accent: #7FD8C6;
    --paper: #0E2120; --surface: #132C2A; --ink: #E6F2F0; --ink-soft: #B3CBC8; --link: #8FD0F5;
    --notice-bg: #2E2210; --notice-ink: #FFE1B0; --notice-line: #E0A040; --focus: #8FD0F5; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Readex Pro", system-ui, "Segoe UI", Tahoma, sans-serif; background: var(--paper); color: var(--ink); line-height: 1.7; }
.wrap { max-width: 960px; margin-inline: auto; padding-inline: 20px; }
a { color: var(--link); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 8px; top: -60px; background: var(--surface); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 9; }
.skip:focus { top: 8px; }
.site-header { background: var(--brand); color: var(--on-brand); }
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 60px; }
.brand { font-weight: 700; font-size: 1.2rem; }
.site-header .lang { color: var(--on-brand); min-height: 44px; display: inline-flex; align-items: center; padding-inline: 8px; }
.hero { padding-block: clamp(40px, 9vw, 96px) 48px; text-align: center; }
.badge { display: inline-block; margin: 0 0 18px; padding: 6px 16px; border-radius: 999px; background: var(--accent); color: #0A2B29; font-weight: 700; }
h1 { font-size: clamp(2rem, 6vw, 3.25rem); line-height: 1.25; margin: 0 0 12px; }
h1 .alt { display: block; font-size: 0.45em; font-weight: 500; color: var(--ink-soft); margin-top: 6px; }
.slogan { font-size: clamp(1.2rem, 3vw, 1.6rem); font-weight: 600; margin: 0 0 16px; }
.desc { max-width: 640px; margin: 0 auto 28px; color: var(--ink-soft); font-size: 1.05rem; }
.notice { max-width: 640px; margin: 0 auto 28px; text-align: start; background: var(--notice-bg); color: var(--notice-ink); border-inline-start: 4px solid var(--notice-line); border-radius: var(--r); padding: 14px 18px; }
.notice h2 { font-size: 1rem; margin: 0 0 4px; }
.notice p { margin: 0; }
.contact { color: var(--ink-soft); }
.site-footer { background: var(--brand); color: var(--on-brand); margin-top: 48px; padding-block: 40px 24px; }
.site-footer a { color: var(--on-brand); display: inline-flex; align-items: center; min-height: 44px; }
.site-footer a:hover { color: var(--accent); }
.site-footer h2 { font-size: 1rem; font-weight: 700; margin: 0 0 8px; color: var(--accent); }
.site-footer :focus-visible { outline-color: var(--accent); }
.footer-brand { margin-bottom: 28px; }
.footer-name { font-size: 1.4rem; font-weight: 700; margin: 0; }
.footer-slogan { font-size: 1.1rem; margin: 0 0 6px; }
.footer-desc, .footer-legal { color: var(--on-brand-soft); margin: 0; }
.footer-cols { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-cols { grid-template-columns: repeat(3, 1fr); } }
.footer-cols ul { list-style: none; margin: 0; padding: 0; }
.footer-legal { margin-top: 28px; text-align: center; font-size: 0.875rem; }
