:root {
  --navy: #141B3C;
  --navy-2: #1F2852;
  --orange: #F2542D;
  --orange-dark: #D9431E;
  --ink: #1B1F2E;
  --muted: #5A6075;
  --line: #E4E6EE;
  --soft: #F5F6FA;
  --white: #FFFFFF;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 27, 60, .06), 0 8px 24px rgba(20, 27, 60, .06);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif; color: var(--ink); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--white); padding: 8px 12px; z-index: 20; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--orange); color: var(--white); border: 0; border-radius: 10px; padding: 14px 22px; font-family: inherit; font-weight: 600; font-size: 15px; line-height: 1; text-decoration: none; cursor: pointer; transition: background .15s, transform .15s; }
.btn:hover { background: var(--orange-dark); }
.btn:active { transform: scale(.98); }
.btn-small { padding: 10px 16px; font-size: 14px; }
.link { color: var(--orange-dark); font-weight: 600; text-decoration: none; }
.link:hover { text-decoration: underline; }

.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand img { width: 250px; height: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--ink); }
.nav a:not(.btn):hover { color: var(--orange-dark); }
.nav a.btn { color: var(--white); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font-family: inherit; font-weight: 600; font-size: 14px; cursor: pointer; }

.hero { background: var(--navy); color: var(--white); padding: 72px 0 80px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.eyebrow { color: #FF9A7E; font-weight: 600; font-size: 14px; letter-spacing: .02em; margin: 0 0 14px; }
.hero h1 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 700; max-width: 14ch; }
.lead { color: #C9CDE0; font-size: 18px; max-width: 54ch; margin: 0 0 28px; }
.finder { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; background: var(--white); padding: 10px; border-radius: 16px; max-width: 640px; }
.finder label { display: flex; flex-direction: column; padding: 4px 10px; border-radius: 10px; background: var(--soft); }
.finder label span { font-size: 12px; color: var(--muted); font-weight: 600; }
.finder select { border: 0; background: transparent; font-family: inherit; font-weight: 600; font-size: 15px; color: var(--ink); padding: 2px 0 4px; cursor: pointer; outline: none; }
.trust-line { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 22px 0 0; color: #C9CDE0; font-size: 14px; }
.trust-line span::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); margin-right: 8px; vertical-align: 1px; }

.score-card { background: var(--white); color: var(--ink); border-radius: 20px; padding: 26px; box-shadow: 0 20px 60px rgba(0, 0, 0, .25); }
.card-label { margin: 0 0 12px; font-weight: 600; color: var(--muted); font-size: 14px; }
.dial-wrap { position: relative; width: 180px; margin: 0 auto 18px; }
.dial path.on { fill: var(--navy); }
.dial path.off { fill: var(--line); }
.dial-num { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.dial-num strong { font-size: 38px; line-height: 1; }
.dial-num span { font-size: 12px; color: var(--muted); }
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bars li { display: grid; grid-template-columns: 130px 1fr 34px; align-items: center; gap: 10px; font-size: 13px; }
.bars b { height: 8px; border-radius: 4px; background: var(--soft); position: relative; overflow: hidden; }
.bars b::after { content: ""; position: absolute; inset: 0; width: var(--w); background: var(--orange); border-radius: 4px; }
.bars em { font-style: normal; color: var(--muted); text-align: right; }
.card-note { margin: 16px 0 0; font-size: 12px; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .dial path.on { animation: lit .4s both; animation-delay: calc(.3s + var(--i) * .07s); }
  .bars b::after { animation: grow .8s .9s both cubic-bezier(.2, .8, .2, 1); }
  @keyframes lit { from { opacity: 0; } }
  @keyframes grow { from { width: 0; } }
}

.section { padding: 84px 0; }
.section.alt { background: var(--soft); }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(26px, 3vw, 36px); }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }
.cards { display: grid; gap: 18px; }
.cards.five { grid-template-columns: repeat(5, 1fr); }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
a.card:hover { border-color: #C8CCDA; box-shadow: var(--shadow); transform: translateY(-2px); }
.card h3 { font-size: 18px; }
.card p { color: var(--muted); margin: 0 0 14px; font-size: 15px; }
.icon { display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; border-radius: 12px; background: #FFF0EB; color: var(--orange-dark); margin-bottom: 16px; }
.badge { display: inline-block; font-size: 12px; font-weight: 600; background: var(--soft); color: var(--navy); padding: 4px 10px; border-radius: 999px; }

.emirates { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.emirate { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 14px; text-decoration: none; display: flex; flex-direction: column; gap: 2px; transition: border-color .15s, box-shadow .15s; }
.emirate:hover { border-color: #C8CCDA; box-shadow: var(--shadow); }
.emirate .ar { font-family: "Segoe UI", Tahoma, sans-serif; font-size: 20px; color: var(--navy); }
.emirate strong { font-size: 15px; }
.emirate small { color: var(--muted); font-size: 12px; }
.emirate.launch { border-color: var(--navy); }
.emirate.launch small { color: var(--orange-dark); font-weight: 600; }

.signal-group { position: relative; }
.signal-group .num { display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; border-radius: 50%; background: var(--navy); color: var(--white); font-weight: 700; font-size: 14px; margin-bottom: 14px; }
.signal-group ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.signal-group li { font-size: 14px; color: var(--muted); padding-left: 18px; position: relative; }
.signal-group li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 2px; background: var(--orange); }
.center { text-align: center; margin-top: 30px; }
.tool h3 { font-size: 18px; }

.promise { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.promise h2 { font-size: clamp(26px, 3vw, 36px); }
.promise p { color: var(--muted); font-size: 17px; }
.cta-box { background: var(--navy); color: var(--white); border-radius: 20px; padding: 34px; }
.cta-box p { color: #C9CDE0; }

.site-footer { background: #0E1430; color: #C9CDE0; padding: 60px 0 24px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid img { width: 220px; margin-bottom: 14px; }
.footer-grid h2 { color: var(--white); font-size: 15px; margin-bottom: 12px; }
.footer-grid a { display: block; text-decoration: none; padding: 3px 0; }
.footer-grid .soon { display: block; padding: 3px 0; opacity: .6; }
.footer-grid a:hover { color: var(--white); }
.footer-base { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 40px; padding-top: 20px; font-size: 13px; }

@media (max-width: 1080px) {
  .cards.five { grid-template-columns: repeat(3, 1fr); }
  .cards.four { grid-template-columns: repeat(2, 1fr); }
  .emirates { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 860px) {
  .hero-grid, .promise { grid-template-columns: 1fr; }
  .score-card { max-width: 440px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav a.btn { margin-top: 12px; border: 0; }
}
@media (max-width: 600px) {
  .hero { padding: 48px 0 56px; }
  .finder { grid-template-columns: 1fr; }
  .cards.five, .cards.four, .cards.three { grid-template-columns: 1fr; }
  .emirates { grid-template-columns: repeat(2, 1fr); }
  .brand img { width: 190px; }
  .section { padding: 60px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .bars li { grid-template-columns: 110px 1fr 30px; }
}

/* Internal pages */
.page-hero { background: var(--navy); color: var(--white); padding: 56px 0 60px; }
.page-hero h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 700; max-width: 22ch; }
.page-hero .lead { margin-bottom: 0; }
.crumbs { font-size: 13px; color: #C9CDE0; margin-bottom: 18px; }
.crumbs a { color: #C9CDE0; text-decoration: none; }
.crumbs a:hover { color: var(--white); }
.eyebrow.dark { color: var(--orange-dark); }
.muted { color: var(--muted); }
.split { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.side-card { background: var(--soft); border: 1px solid var(--line); border-radius: 20px; padding: 28px; position: sticky; top: 96px; }
.side-card h2 { font-size: 18px; margin-top: 4px; }
.side-card p + h2 { margin-top: 22px; }
.note { font-size: 14px; color: var(--muted); margin: 18px 0 0; }
.narrow { max-width: 760px; }
.prose { font-size: 17px; }
.prose h2 { font-size: 22px; margin-top: 36px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #343A4F; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--orange-dark); font-weight: 600; }
.updated { font-size: 13px; color: var(--muted); margin: 0 0 24px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 32px 1fr; gap: 2px 12px; counter-increment: s; }
.steps li::before { content: counter(s); grid-row: span 2; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: var(--white); font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.steps span { color: var(--muted); font-size: 14px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { padding-left: 18px; position: relative; font-size: 15px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 11px; width: 8px; height: 2px; background: var(--orange); }
.num-circle { display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; border-radius: 50%; background: var(--navy); color: var(--white); font-weight: 700; font-size: 14px; margin-bottom: 14px; }
.signal-group p { font-size: 14px; }
.founder { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.founder strong { display: block; }
.founder span { color: var(--muted); font-size: 14px; }
.avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: var(--white); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.facts div { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.facts strong { display: block; font-size: 24px; color: var(--navy); }
.facts span { font-size: 12px; color: var(--muted); }
.bands { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.bands li { display: flex; justify-content: space-between; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; font-size: 15px; }
.bands b { color: var(--navy); }
.bands span { color: var(--muted); }
.center-box { text-align: center; margin-inline: auto; }
.btn-row { display: flex; gap: 20px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 24px; }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form-grid.one { grid-template-columns: 1fr; max-width: 380px; }
.form-grid .wide { grid-column: 1 / -1; }
.fld { display: flex; flex-direction: column; gap: 6px; }
.fld > span { font-size: 14px; font-weight: 600; }
.fld input, .fld select, .fld textarea, .filters select, .sub-actions select, .sub-actions input { font-family: inherit; font-size: 15px; color: var(--ink); background: var(--white); border: 1px solid #CDD1DD; border-radius: 10px; padding: 12px 14px; width: 100%; }
.fld textarea { resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(20, 27, 60, .12); }
.has-err input, .has-err select, .has-err textarea { border-color: var(--orange-dark); }
.err { font-style: normal; font-size: 13px; color: var(--orange-dark); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--navy); }
.check a { color: var(--orange-dark); font-weight: 600; }
.hp { position: absolute; left: -9999px; }
.form-alert { background: #FFF0EB; border: 1px solid #F8C3B4; color: #9A2F14; border-radius: 10px; padding: 12px 16px; font-size: 15px; }
.success-box { background: var(--soft); border: 1px solid var(--line); border-left: 4px solid var(--navy); border-radius: 0; padding: 28px; }

/* Admin */
.auth-box { max-width: 420px; margin: 40px auto; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 32px; }
.auth-box h1 { font-size: 24px; }
.admin-nav { display: flex !important; position: static !important; flex-direction: row !important; padding: 0 !important; border: 0 !important; }
.admin .menu-btn { display: none !important; }
.admin-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 18px 0; }
.stat { background: var(--soft); border-radius: 12px; padding: 14px 16px; }
.stat span { font-size: 13px; color: var(--muted); }
.stat strong { display: block; font-size: 26px; color: var(--navy); }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.filters select { width: auto; }
.empty { color: var(--muted); }
.subs { display: grid; gap: 10px; }
.sub { background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.sub summary { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 14px 18px; cursor: pointer; }
.sub dl { display: grid; grid-template-columns: 160px 1fr; gap: 8px 16px; margin: 0; padding: 0 18px 12px; font-size: 14px; }
.sub dt { color: var(--muted); }
.sub dd { margin: 0; }
.sub-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; padding: 14px 18px; border-top: 1px solid var(--line); }
.sub-actions select { width: auto; }
.sub-actions input { flex: 1; min-width: 180px; }
.pill { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--soft); color: var(--navy); }
.pill.new { background: #FFF0EB; color: #9A2F14; }
.pill.listed { background: var(--navy); color: var(--white); }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .side-card { position: static; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .form-grid { grid-template-columns: 1fr; }
  .sub dl { grid-template-columns: 1fr; }
}

/* Ranking pages */
.rk-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 18px 0 0; font-size: 14px; color: #C9CDE0; }
.rk-meta span::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); margin-right: 8px; vertical-align: 1px; }
.rk-answer, .rk-how { max-width: 760px; margin-bottom: 32px; }
.rk-answer h2, .rk-how h2, .rk-h2 { font-size: clamp(22px, 2.4vw, 28px); margin: 0 0 10px; }
.rk-how .note { background: var(--soft); border-radius: 10px; padding: 14px 16px; }
.rk-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.rk-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.rk-table th, .rk-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.rk-table th { background: var(--soft); font-size: 13px; font-weight: 600; color: var(--muted); }
.rk-table tr:last-child td { border-bottom: 0; }
.rk-table a { color: var(--navy); font-weight: 600; text-decoration: none; }
.rk-table a:hover { color: var(--orange-dark); }
.rk-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.rk-card { padding: 26px; }
.rk-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.rk-head h3 { margin: 0; flex: 1 1 200px; }
.rk-score { display: flex; align-items: baseline; gap: 4px; }
.rk-score strong { font-size: 28px; color: var(--navy); line-height: 1; }
.rk-score > span { color: var(--muted); font-size: 14px; margin-right: 10px; }
.seg { display: inline-flex; gap: 3px; align-self: center; }
.seg i { width: 8px; height: 16px; border-radius: 2px; background: var(--line); }
.seg i.on { background: var(--navy); }
.rk-date { font-size: 13px; color: var(--muted); margin: 6px 0 16px; }
.rk-body { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; }
.rk-body h4 { font-size: 14px; margin: 0 0 8px; color: var(--navy); }
.rk-facts { margin: 0; display: grid; gap: 6px; font-size: 14px; }
.rk-facts div { display: grid; grid-template-columns: 130px 1fr; gap: 10px; }
.rk-facts dt { color: var(--muted); }
.rk-facts dd { margin: 0; }
.rk-visit { margin: 16px 0 0; }
.rk-sources { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 12px; font-size: 13px; color: var(--muted); }
.rk-sources summary { cursor: pointer; font-weight: 600; color: var(--navy); }
.rk-sources ul { padding-left: 18px; margin: 10px 0 0; }
.rk-sources li { margin-bottom: 6px; overflow-wrap: anywhere; }
.rk-sources a { color: var(--orange-dark); }
.rk-faq details { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin-bottom: 10px; background: var(--white); }
.rk-faq summary { cursor: pointer; font-weight: 600; }
.rk-faq details p { margin: 10px 0 0; }
@media (max-width: 860px) { .rk-body { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .rk-facts div { grid-template-columns: 1fr; gap: 0; } .rk-card { padding: 20px; } .bars li { grid-template-columns: 110px 1fr 34px; } }
.rk-body .ticks + h4 { margin-top: 16px; }

/* Ranking: alignment and mobile table */
.rk-table .num-circle, .rk-head .num-circle { margin: 0; flex: none; }
.rk-head { align-items: center; }
.rk-head h3 { line-height: 1.25; }
.rk-sc strong { color: var(--navy); }
.rk-sc span { color: var(--muted); font-size: 13px; }
@media (max-width: 700px) {
  .rk-table-wrap { overflow: visible; border: 0; border-radius: 0; }
  .rk-table, .rk-table tbody { display: block; }
  .rk-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .rk-table tr { display: grid; grid-template-columns: 32px 1fr auto; align-items: center; column-gap: 12px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 12px; }
  .rk-table td { border: 0; padding: 0; }
  .rk-table td.rk-name { font-size: 16px; line-height: 1.3; }
  .rk-table td.rk-sc { text-align: right; white-space: nowrap; }
  .rk-table td.rk-sc strong { font-size: 20px; }
  .rk-table td[data-label] { grid-column: 1 / -1; display: grid; grid-template-columns: 112px 1fr; gap: 10px; font-size: 14px; padding-top: 8px; margin-top: 8px; border-top: 1px solid var(--line); }
  .rk-table td[data-label] + td[data-label] { margin-top: 0; border-top: 0; padding-top: 6px; }
  .rk-table td[data-label]::before { content: attr(data-label); color: var(--muted); font-weight: 600; font-size: 13px; }
}
