/* Standalone HTML counterpart of globals.css, Brand, SiteHeader and the home
   footer. Keep their dimensions and brand tokens aligned when they change. */
@font-face {
  font-family: Cairo;
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/fonts/cairo/cairo-arabic.woff2') format('woff2');
  unicode-range: U+0600-06FF,U+0750-077F,U+0870-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,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC7,U+10EC9-10EEE,U+10EF0-10EFF,U+1EE00-1EEF1;
}
@font-face {
  font-family: Cairo;
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/fonts/cairo/cairo-latin.woff2') format('woff2');
  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+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
:root { color-scheme: light; --ink: #0f172a; --muted: #64748b; --primary: #df314d; --border: #e2e8f0; --paper: #fff; --cream: #fef6f8; --dark: #2d2b3f; }
*, *::before, *::after { box-sizing: border-box; min-width: 0; }
body { margin: 0; background: linear-gradient(180deg,#fff 0%,#fef6f8 100%); color: var(--ink); font: 16px/1.5 Cairo,system-ui,'Segoe UI',Tahoma,Arial,sans-serif; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, summary:focus-visible, .table-wrap:focus-visible { outline: 2px solid var(--primary); outline-offset: 4px; }
img, svg { display: block; max-width: 100%; }
p, h1, h2, h3, a { overflow-wrap: anywhere; }
h1, h2, h3, p { margin: 0; }
.site-header { position: sticky; top: 0; z-index: 50; width: 100%; border-bottom: 1px solid var(--border); background: #fffffff2; backdrop-filter: blur(4px); }
.site-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; max-width: 1152px; height: 64px; margin: auto; padding: 0 12px; }
.brand { display: inline-flex; flex-shrink: 0; color: var(--primary); border-radius: 8px; }
.brand:hover { text-decoration: none; }
.brand-lockup { display: inline-flex; align-items: center; gap: 10px; }
.brand-lockup img { width: 36px; height: 36px; flex-shrink: 0; }
.brand-wordmark { display: flex; flex-direction: column; align-items: center; gap: 4px; white-space: nowrap; }
.brand-wordmark > span { font-size: 24px; font-weight: 900; line-height: 1.2; }
.brand-wordmark small { padding-inline-start: .28em; font-size: 7px; font-weight: 600; line-height: 1; text-transform: uppercase; letter-spacing: .28em; opacity: .8; }
.header-actions, .desktop-nav { display: flex; align-items: center; gap: 6px; }
.desktop-nav { display: none; }
.desktop-nav a, .dropdown a { color: #0f172acc; font-size: 14px; font-weight: 600; border-radius: 6px; padding: 8px 12px; }
.desktop-nav a { white-space: nowrap; }
.desktop-nav a:hover, .dropdown a:hover { color: var(--primary); background: var(--cream); text-decoration: none; }
.language-menu, .mobile-menu { position: relative; }
summary { display: flex; align-items: center; justify-content: center; cursor: pointer; list-style: none; border-radius: 6px; }
summary::-webkit-details-marker { display: none; }
.language-menu summary, .mobile-menu summary { min-width: 36px; height: 36px; }
summary svg { width: 20px; height: 20px; flex-shrink: 0; }
summary:hover { background: var(--cream); }
.dropdown { position: absolute; inset-inline-end: 0; top: 100%; z-index: 60; width: max-content; min-width: 144px; max-width: calc(100vw - 24px); margin-top: 8px; padding: 6px; border: 1px solid var(--border); border-radius: 8px; background: white; box-shadow: 0 10px 15px #0000001a; }
.dropdown a { display: block; padding: 10px 12px; }
.dropdown a[aria-current] { background: var(--cream); color: var(--primary); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 6px; padding: 10px 20px; background: var(--primary); color: white; box-shadow: 0 1px 2px #0000000d; font-size: 14px; font-weight: 600; }
.button:hover { background: #df314de6; text-decoration: none; }
.login-button { max-width: 104px; padding-inline: 10px; font-size: 12px; white-space: nowrap; }
.intro { padding: 48px 16px; border-bottom: 1px solid var(--border); background: white; text-align: center; }
.intro-inner { max-width: 992px; margin: auto; }
.eyebrow { display: inline-flex; align-items: center; border-radius: 999px; background: var(--cream); color: #c01f3a; padding: 6px 14px; font-size: 12px; font-weight: 600; line-height: 16px; }
h1 { margin-top: 12px; font-size: 30px; font-weight: 800; line-height: 36px; letter-spacing: -.025em; color: #111827; }
h2 { font-size: 22px; font-weight: 700; line-height: 1.4; }
.lead { max-width: 576px; margin: 12px auto 0; color: #4b5563; font-size: 14px; line-height: 20px; }
.muted { color: var(--muted); }
.container { max-width: 1024px; width: 100%; margin: auto; padding: 40px 16px; }
.directory-content { min-height: 280px; }
.table-wrap, .panel, .info { border: 1px solid var(--border); border-radius: 16px; background: var(--paper); box-shadow: 0 1px 2px #0000000d; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; min-width: 850px; width: 100%; text-align: start; font-size: 14px; }
th, td { padding: 16px; border-bottom: 1px solid var(--border); vertical-align: top; text-align: start; }
thead { background: var(--cream); color: #4b5563; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fef6f880; }
.client-id { font-weight: 800; direction: ltr; unicode-bidi: isolate; }
.pill-link { color: var(--primary); font-weight: 700; }
.next { display: flex; justify-content: center; margin-top: 24px; }
.panel { padding: 24px; margin: 20px 0; }
.panel .muted { margin-top: 12px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(210px,100%),1fr)); gap: 12px; }
.info { padding: 13px 15px; box-shadow: none; }
.info dt { font-size: 12px; color: var(--muted); font-weight: 700; }
.info dd { margin: 3px 0 0; font-size: 14px; font-weight: 700; overflow-wrap: anywhere; }
.about { margin-top: 16px; white-space: pre-line; overflow-wrap: anywhere; font-size: 15px; line-height: 2; }
.brokers { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(240px,100%),1fr)); gap: 20px; margin-top: 20px; }
.broker { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; border: 1px solid var(--border); border-radius: 16px; background: white; padding: 24px; }
.empty { max-width: 448px; margin: 0 auto; padding: 24px; text-align: center; color: #6b7280; font-size: 14px; }
.site-footer { background: var(--dark); color: white; }
.footer-inner { max-width: 1152px; margin: auto; padding: 0 16px; }
.footer-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px 16px; padding: 32px 0; }
.footer-grid > div { min-width: 0; }
.footer-brand { grid-column: span 2; display: flex; flex-direction: column; align-items: center; text-align: center; }
.site-footer .brand { color: white; }
.brand-large .brand-lockup { gap: 16px; }
.brand-large img { width: 72px; height: 72px; filter: brightness(0) invert(1); }
.brand-large .brand-wordmark > span { font-size: 40px; }
.brand-large .brand-wordmark small { font-size: 10px; opacity: .9; }
.footer-brand p { max-width: 384px; margin-top: 16px; font-size: 14px; line-height: 1.625; color: #ffffffb3; }
.social-links { display: flex; gap: 12px; margin-top: 24px; }
.social-links a { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 50%; background: #ffffff1a; }
.social-links img { filter: brightness(0) invert(1); opacity: .8; }
.social-links a:hover { background: #ea7b9a33; }
.site-footer h3 { margin-bottom: 12px; font-size: 16px; font-weight: 700; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.footer-grid li + li { margin-top: 12px; }
.site-footer a { color: #ffffffb3; font-size: 14px; }
.site-footer nav a { white-space: nowrap; }
.site-footer a:hover { color: #ea7b9a; }
.footer-information { padding: 24px 0; border-top: 1px solid #ffffff1a; }
.footer-information ul { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.footer-information a { color: #ffffffcc; font-weight: 600; }
.footer-bottom { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 12px; padding: 24px 0; border-top: 1px solid #ffffff1a; font-size: 14px; color: #fff9; }
.footer-bottom ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; }
.footer-bottom a { color: inherit; }
.footer-registration, .footer-credit { padding-bottom: 16px; text-align: center; font-size: 14px; line-height: 24px; color: #ffffffcc; }
.footer-credit { padding-bottom: 24px; color: #fff9; }
@media (min-width:640px) {
  .site-bar { height: 80px; gap: 12px; padding-inline: 24px; }
  .brand-lockup { gap: 12px; }
  .brand-lockup img { width: 44px; height: 44px; }
  .brand-wordmark > span { font-size: 30px; }
  .brand-wordmark small { font-size: 8px; }
  .header-actions { gap: 8px; }
  .desktop-nav { display: flex; }
  .mobile-menu { display: none; }
  .language-menu summary { width: 36px; height: 36px; }
  .login-button { max-width: none; padding-inline: 20px; font-size: 14px; }
  .intro { padding-block: 56px; }
  h1 { font-size: 36px; line-height: 40px; }
  .lead { font-size: 16px; line-height: 24px; }
  .footer-inner { padding-inline: 24px; }
  .brand-large .brand-lockup { gap: 20px; }
  .brand-large img { width: 80px; height: 80px; }
  .brand-large .brand-wordmark > span { font-size: 48px; }
  .brand-large .brand-wordmark small { font-size: 12px; }
}
@media (min-width:640px) { .footer-grid { column-gap: 32px; } }
@media (min-width:1024px) { .footer-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 40px; padding-block: 64px; } .footer-brand { align-items: flex-start; text-align: start; } .site-footer h3 { margin-bottom: 20px; } .footer-bottom { flex-direction: row; } }
@media (min-width:640px) and (max-width:1023px) {
  .desktop-nav { display: none; }
  .mobile-menu { display: block; }
}
