/* getghaya.com. Shared by every page; page-specific layout stays inline in website/pages. No scripts anywhere. */
@font-face { font-family: "Bricolage Grotesque"; src: url("fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Lexend"; src: url("fonts/lexend-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Readex Pro"; src: url("fonts/readex-pro-arabic-wght-normal.woff2") format("woff2"); font-weight: 160 700; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Readex Pro"; src: url("fonts/readex-pro-latin-wght-normal.woff2") format("woff2"); font-weight: 160 700; font-display: swap; }
@font-face { font-family: "Baloo Bhaijaan 2"; src: url("fonts/baloo-bhaijaan-2-arabic-wght-normal.woff2") format("woff2"); font-weight: 400 800; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; }

:root { --ink: #171a33; --ink-2: #444962; --ink-3: #585d76; --paper: #f2f3f8; --line: #dcdde6; --blue: #2457e6; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: "Lexend", system-ui, sans-serif; font-size: 17px; line-height: 1.55; overflow-x: hidden;
}
html[lang="ar"] body { font-family: "Readex Pro", system-ui, sans-serif; }
img { max-width: 100%; }
a { color: var(--ink); }
a:hover { color: var(--blue); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 12px; }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
th, td { text-align: start; padding: 14px 16px; border-bottom: 1px solid #e3e4ec; vertical-align: top; }
th { font-weight: 600; }
.iso, .kq-iso { unicode-bidi: isolate; }

.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 10; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 12px; text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }

/* Header and menu */
.site-top { max-width: 1200px; margin: 0 auto; padding: 18px 24px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.site-logo { display: flex; align-items: center; }
.site-logo img { height: 52px; width: auto; display: block; }
.site-nav { display: flex; gap: 26px; margin-inline-start: auto; font-size: 15px; }
.site-nav a, .site-lang { text-decoration: none; }
.site-nav a[aria-current="page"] { font-weight: 600; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.site-lang { font-size: 15px; min-height: 44px; display: inline-flex; align-items: center; margin-inline-start: auto; }
.site-lang[lang="ar"] { font-family: "Readex Pro", sans-serif; }
.site-lang[lang="en"] { font-family: "Lexend", sans-serif; }
.site-cta { background: var(--ink); color: #fff; text-decoration: none; padding: 0 20px; border-radius: 999px; font-weight: 600; font-size: 15px; min-height: 44px; display: inline-flex; align-items: center; }
.site-cta:hover { background: #2a2e52; color: #fff; }
.site-menu { display: none; width: 100%; }
.site-menu summary { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; font-size: 15px; }
.site-menu nav { display: flex; flex-direction: column; background: #fff; border-radius: 18px; padding: 8px 18px; margin-top: 8px; box-shadow: 0 6px 18px rgba(23,26,51,.08); }
.site-menu nav a { text-decoration: none; padding: 12px 0; border-bottom: 1px solid #e3e4ec; }
.site-menu nav a:last-child { border-bottom: 0; }

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding: 48px 24px 56px; margin-top: 24px; }
.site-foot-in { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; }
.site-foot-brand { display: flex; flex-direction: column; gap: 10px; max-width: 320px; }
.site-foot-brand img { height: 44px; width: auto; align-self: flex-start; }
.site-foot-brand p { margin: 0; font-size: 14px; color: var(--ink-3); }
.site-foot nav { display: flex; gap: 56px; flex-wrap: wrap; font-size: 15px; }
.site-foot nav div { display: flex; flex-direction: column; gap: 8px; }
.site-foot nav a[lang="ar"] { font-family: "Readex Pro", sans-serif; }
.site-foot nav a[lang="en"] { font-family: "Lexend", sans-serif; }
.site-foot-legal { max-width: 1200px; margin: 32px auto 0; font-size: 13px; color: var(--ink-3); }

/* Shared by the mockup pages (home, features, pricing, safety, library) */
.kq-hero { display: grid; }
.kq-hero > * { grid-area: 1 / 1; }

.tbl-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 600px) {
  .tbl-scroll table { min-width: 0 !important; font-size: 14px !important; }
  .tbl-scroll th, .tbl-scroll td { padding: 10px 8px; overflow-wrap: break-word; }
}

/* Legal pages */
.legal { max-width: 820px; margin: 0 auto; padding: 32px 24px 80px; color: #2d3150; font-size: 16.5px; line-height: 1.7; }
.legal h1 { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 56px; letter-spacing: -0.03em; line-height: 1; margin: 0 0 12px; color: var(--ink); }
.legal h2 { font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; font-size: 28px; letter-spacing: -0.015em; margin: 48px 0 12px; color: var(--ink); }
.legal h3 { font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; font-size: 21px; margin: 28px 0 8px; color: var(--ink); }
html[lang="ar"] .legal h1, html[lang="ar"] .legal h2, html[lang="ar"] .legal h3 { font-family: "Baloo Bhaijaan 2", "Readex Pro", sans-serif; letter-spacing: 0; line-height: 1.3; }
.legal p { margin: 0 0 14px; }
.legal ul, .legal ol { margin: 0 0 14px; padding-inline-start: 24px; }
.legal li { margin: 4px 0; }
.legal hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
.legal blockquote { margin: 0 0 14px; padding: 12px 18px; background: #fff; border-radius: 14px; }
.legal .tbl { overflow-x: auto; margin: 0 0 18px; background: #fff; border-radius: 16px; }
.legal table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 15px; }
.legal th, .legal td { padding: 12px 14px; }
.legal th { color: var(--ink); }
.legal code { font-family: inherit; background: #e9eaf1; border-radius: 4px; padding: 0 4px; }
.legal a { overflow-wrap: anywhere; }

/* 404 */
.notfound { max-width: 760px; margin: 0 auto; padding: 72px 24px 96px; }
.notfound h1 { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 56px; letter-spacing: -0.03em; line-height: 1; margin: 0 0 16px; }
.notfound p { color: var(--ink-2); }
.btn { display: inline-flex; align-items: center; min-height: 52px; padding: 0 24px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; margin: 8px 8px 0 0; }
.btn:hover { color: #fff; background: #2a2e52; }
.btn-quiet { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); font-family: "Readex Pro", sans-serif; }
.btn-quiet:hover { background: #fff; color: var(--blue); }

@media (max-width: 860px) {
  .site-nav { display: none; }
  .site-menu { display: block; }
  .site-logo img { height: 44px; }
  .kq-hero { display: block; }
  .kq-hero-copy { max-width: none !important; padding: 28px 24px 24px !important; }
  .kq-hero-h1 { font-size: 44px !important; }
  .kq-big { font-size: 38px !important; }
  .kq-line { display: none; }
  .legal h1, .notfound h1 { font-size: 40px; }
}
@media (max-width: 420px) {
  .site-top { gap: 12px; padding: 14px 16px; }
  .site-cta { padding: 0 16px; }
  .kq-hero-h1 { font-size: 38px !important; }
  .kq-big { font-size: 32px !important; }
}
