/* PropTech Reviewed — editorial directory for UAE real estate AI tools */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --ink: #0D2137;
  --mid: #1C3A5C;
  --sienna: #E86432;
  --sienna-hover: #cf5527;
  --grey: #F2F4F7;
  --grey-2: #E6E9EF;
  --line: #D9DEE7;
  --text: #0D2137;
  --text-2: #4A5A70;
  --text-3: #7A8699;
  --white: #FFFFFF;
  --gold: #C69A3B;
  --green: #1F8A55;
  --red: #B23A2A;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(13,33,55,0.04), 0 1px 3px rgba(13,33,55,0.06);
  --shadow-md: 0 2px 6px rgba(13,33,55,0.06), 0 8px 24px rgba(13,33,55,0.07);
  --shadow-lg: 0 8px 30px rgba(13,33,55,0.12);
  --maxw: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 16px;
  line-height: 1.55;
}
.mono {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
  font-feature-settings: "tnum" 1;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
img { max-width: 100%; display: block; }

/* ===== Layout ===== */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }

.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-3); font-weight: 500;
}
.eyebrow.on-dark { color: #8FA3BF; }

h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.02em; margin: 0; color: var(--text); font-weight: 700;
}
h1 { font-size: 56px; line-height: 1.05; letter-spacing: -0.03em; font-weight: 800; }
h2 { font-size: 36px; line-height: 1.15; }
h3 { font-size: 22px; line-height: 1.25; }
h4 { font-size: 16px; line-height: 1.3; font-weight: 600; }
p { margin: 0; color: var(--text-2); }
.on-dark p { color: #B7C3D4; }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: var(--white); }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(160%) blur(8px);
  -webkit-backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; letter-spacing: -0.01em; font-size: 18px;
  color: var(--ink); text-decoration: none;
}
.logo-mark {
  width: 24px; height: 24px;
  display: grid; grid-template: repeat(3, 1fr) / repeat(3, 1fr); gap: 2px; flex-shrink: 0;
}
.logo-mark span { background: var(--ink); border-radius: 1.5px; display: block; }
.logo-mark span:nth-child(1),
.logo-mark span:nth-child(5),
.logo-mark span:nth-child(9) { background: var(--sienna); }
.logo.on-dark { color: var(--white); }
.logo.on-dark .logo-mark span { background: var(--white); }
.logo.on-dark .logo-mark span:nth-child(1),
.logo.on-dark .logo-mark span:nth-child(5),
.logo.on-dark .logo-mark span:nth-child(9) { background: var(--sienna); }

.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--text-2);
  padding: 8px 0; position: relative; transition: color .15s; text-decoration: none;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); font-weight: 600; }
.nav-links a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -23px;
  height: 2px; background: var(--sienna);
}
.nav-right { display: flex; align-items: center; gap: 14px; }
.search-mini {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; background: var(--grey); border-radius: 8px;
  color: var(--text-3); font-size: 13px; width: 180px;
  cursor: pointer; transition: background .15s; border: none;
  text-decoration: none;
}
.search-mini:hover { background: var(--grey-2); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 14px; padding: 11px 20px; border-radius: 8px;
  transition: transform .1s ease, background .15s, color .15s, box-shadow .15s, border-color .15s;
  border: 1px solid transparent; white-space: nowrap;
  text-decoration: none; cursor: pointer; font-family: inherit;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--sienna); color: #fff; box-shadow: 0 1px 0 rgba(0,0,0,0.04); }
.btn-primary:hover { background: var(--sienna-hover); color: #fff; }
.btn-ghost { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.3); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.55); }
.btn-outline { background: var(--white); color: var(--ink); border: 1px solid var(--line); }
.btn-outline:hover { border-color: var(--ink); }
.btn-light { background: var(--white); color: var(--sienna); font-weight: 700; }
.btn-light:hover { background: #FFF2EB; }
.btn-lg { padding: 14px 24px; font-size: 15px; }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-block { width: 100%; text-align: center; }
.btn .arrow { transition: transform .15s; display: inline-block; }
.btn:hover .arrow { transform: translateX(3px); }

/* ===== Hero ===== */
.hero {
  background: var(--ink); color: var(--white);
  padding: 112px 0 96px; position: relative; overflow: hidden;
}
.hero-motif {
  position: absolute; right: -120px; top: 40px; width: 520px; height: 520px;
  opacity: .18; pointer-events: none;
  background-image:
    linear-gradient(var(--sienna) 1px, transparent 1px),
    linear-gradient(90deg, var(--sienna) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at center, black 0%, transparent 70%);
}
.hero .eyebrow { color: #8FA3BF; }
.hero h1 { color: var(--white); max-width: 900px; }
.hero .sub { color: #B7C3D4; font-size: 19px; margin-top: 20px; max-width: 640px; line-height: 1.5; }
.hero-cta { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 48px; margin-top: 56px;
  padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.12);
  max-width: 820px; flex-wrap: wrap;
}
.hero-stats .stat .num {
  font-size: 32px; font-weight: 800; color: var(--white);
  letter-spacing: -0.02em; font-family: 'JetBrains Mono', monospace;
}
.hero-stats .stat .num .pct { color: var(--sienna); }
.hero-stats .stat .lbl { font-size: 13px; color: #8FA3BF; margin-top: 4px; }

/* Hero search */
.hero-search { margin-top: 32px; position: relative; max-width: 640px; }
.hero-search-input {
  display: flex; align-items: center; gap: 12px;
  background: var(--white); border-radius: 12px;
  padding: 14px 16px; box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  border: 2px solid transparent;
}
.hero-search-input svg { color: var(--text-3); flex-shrink: 0; }
.hero-search-input input {
  flex: 1; border: 0; outline: 0; background: transparent;
  font-family: inherit; font-size: 16px; color: var(--ink); min-width: 0;
}
.hero-search-input input::placeholder { color: var(--text-3); }
.hs-kbd {
  font-size: 11px; padding: 3px 7px; border: 1px solid var(--line);
  border-radius: 5px; color: var(--text-3); background: var(--grey);
  flex-shrink: 0; font-family: 'JetBrains Mono', monospace;
}

/* ===== Section header ===== */
.sec-head {
  display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 40px;
}
.sec-head h2 { margin-top: 8px; }
.sec-head .link { color: var(--text-2); font-size: 14px; font-weight: 500; text-decoration: none; }
.sec-head .link:hover { color: var(--ink); }

/* ===== Category grid ===== */
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.cat-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px 20px 20px; cursor: pointer;
  transition: transform .15s, box-shadow .15s, border-color .15s;
  display: flex; flex-direction: column; min-height: 160px;
  text-decoration: none; color: inherit;
}
.cat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--ink); }
.cat-icon {
  width: 36px; height: 36px; border-radius: 8px; background: var(--grey);
  display: grid; place-items: center; color: var(--ink); margin-bottom: 14px;
}
.cat-card h4 { font-size: 15px; font-weight: 700; }
.cat-card .cat-desc { font-size: 13px; color: var(--text-2); margin-top: 6px; line-height: 1.45; }
.cat-count {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: var(--text-3); margin-top: auto; padding-top: 12px;
}

/* ===== Tool cards ===== */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tool-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px; transition: transform .15s, box-shadow .15s, border-color .15s;
  display: flex; flex-direction: column; gap: 14px; position: relative;
  text-decoration: none; color: inherit;
}
.tool-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--ink); }
.tool-card .row-top { display: flex; align-items: center; gap: 12px; }
.tool-logo {
  width: 48px; height: 48px; border-radius: 10px; flex-shrink: 0;
  display: grid; place-items: center; font-weight: 800; color: var(--white);
  font-size: 13px; letter-spacing: 0; font-family: 'JetBrains Mono', monospace;
}
.tool-logo-sm { width: 32px !important; height: 32px !important; border-radius: 7px !important; font-size: 11px !important; }
.tool-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tool-meta .name { font-weight: 700; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cat-badge {
  font-size: 11px; font-family: 'JetBrains Mono', monospace;
  color: var(--text-3); letter-spacing: 0.05em; text-transform: uppercase;
}
.rating { display: flex; align-items: center; gap: 8px; }
.stars { display: inline-flex; color: var(--sienna); font-size: 15px; letter-spacing: 1px; }
.rating .score {
  font-family: 'JetBrains Mono', monospace; font-weight: 600;
  color: var(--ink); font-size: 13px;
}
.tool-card .desc { font-size: 14px; color: var(--text-2); line-height: 1.5; flex: 1; }
.price-tag {
  font-family: 'JetBrains Mono', monospace; font-size: 13px;
  color: var(--ink); font-weight: 600;
}
.affiliate-tag {
  position: absolute; top: 16px; right: 16px;
  background: rgba(232,100,50,0.1); color: var(--sienna);
  font-size: 10px; font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600;
  padding: 4px 8px; border-radius: 4px;
}
.tool-card .cta-row { display: flex; gap: 10px; align-items: center; padding-top: 4px; }
.linklike { font-size: 13px; color: var(--ink); font-weight: 600; }
.linklike:hover { color: var(--sienna); }

/* ===== Badges & pills ===== */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 500;
  background: var(--grey); color: var(--text-2); border: 1px solid var(--line);
}
.pill-uae { color: var(--green); background: rgba(31,138,85,0.08); border-color: rgba(31,138,85,0.2); }
.pill-free { color: var(--ink); background: rgba(13,33,55,0.06); border-color: transparent; }
.pill-sienna { color: var(--sienna); background: rgba(232,100,50,0.1); border-color: rgba(232,100,50,0.2); }
.pill-arabic { color: var(--mid); background: rgba(28,58,92,0.08); border-color: rgba(28,58,92,0.2); }

/* ===== UAE strip ===== */
.uae-strip { background: var(--ink); padding: 72px 0; }
.uae-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 48px; align-items: start; }
.uae-strip h2 { color: var(--white); max-width: 320px; }
.uae-item { display: flex; flex-direction: column; gap: 10px; }
.uae-item .icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(232,100,50,0.15); color: var(--sienna);
  display: grid; place-items: center;
}
.uae-item h4 { color: var(--white); font-size: 16px; }
.uae-item p { color: #B7C3D4; font-size: 14px; }

/* ===== How It Works ===== */
.how { background: var(--grey); }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.how-step {
  background: var(--white); border-radius: var(--radius-lg); padding: 32px;
  border: 1px solid var(--line); position: relative;
}
.how-step .step-num {
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  color: var(--sienna); font-weight: 600; letter-spacing: 0.1em;
}
.how-step h3 { margin-top: 16px; font-size: 20px; }
.how-step p { margin-top: 8px; font-size: 14px; }
.how-step .bigglyph {
  position: absolute; right: 24px; top: 24px; width: 44px; height: 44px;
  border: 1px solid var(--line); border-radius: 10px;
  display: grid; place-items: center; color: var(--ink);
}

/* ===== Reviews grid (latest) ===== */
.reviews-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.review-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px; display: flex; gap: 16px;
  transition: border-color .15s, box-shadow .15s;
  text-decoration: none; color: inherit;
}
.review-card:hover { border-color: var(--ink); box-shadow: var(--shadow-sm); }
.review-card .body { flex: 1; min-width: 0; }
.review-card .name-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.review-card .name-row strong { font-size: 15px; font-weight: 700; }
.review-card .excerpt { font-size: 13px; color: var(--text-2); margin-top: 8px; line-height: 1.5; }

/* ===== Footer ===== */
.footer { background: var(--ink); color: #B7C3D4; padding: 72px 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 40px; }
.footer h5 {
  color: var(--white); font-size: 13px; margin: 0 0 16px;
  letter-spacing: 0.04em; text-transform: uppercase;
  font-family: 'JetBrains Mono', monospace; font-weight: 500;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer a { color: #B7C3D4; font-size: 14px; text-decoration: none; }
.footer a:hover { color: var(--white); }
.footer-tagline { color: #8FA3BF; font-size: 14px; margin-top: 14px; max-width: 280px; line-height: 1.5; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 12px; color: #8FA3BF; flex-wrap: wrap; gap: 8px;
}
.socials { display: flex; gap: 10px; }
.socials a {
  width: 32px; height: 32px; border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px; display: grid; place-items: center;
  text-decoration: none; color: #B7C3D4;
}
.socials a:hover { border-color: var(--sienna); color: var(--sienna); }

/* ===== Breadcrumb ===== */
.crumb {
  font-size: 13px; color: var(--text-3); font-family: 'JetBrains Mono', monospace;
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
}
.crumb a { color: var(--text-3); text-decoration: none; }
.crumb a:hover { color: var(--ink); }
.crumb .sep { color: var(--line); }

/* ===== Disclosure bar ===== */
.disclosure-bar {
  background: rgba(232,100,50,0.05);
  border-top: 1px solid rgba(232,100,50,0.12);
  padding: 12px 0;
}
.disclosure-bar p { font-size: 13px; color: var(--text-3); }
.disclosure-bar a { color: var(--sienna); }

/* ===== Category page hero ===== */
.cat-hero { background: var(--white); padding: 48px 0 56px; border-bottom: 1px solid var(--line); }
.cat-hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; margin-top: 20px; }
.cat-hero h1 { font-size: 44px; max-width: 620px; margin-top: 14px; }
.cat-hero .sub { font-size: 17px; color: var(--text-2); margin-top: 18px; max-width: 560px; line-height: 1.5; }
.cat-hero-art {
  aspect-ratio: 4/3; border-radius: var(--radius-lg);
  background: repeating-linear-gradient(45deg, var(--grey) 0 10px, var(--grey-2) 10px 20px);
  display: grid; place-items: center; color: var(--text-3);
  font-family: 'JetBrains Mono', monospace; font-size: 13px;
  border: 1px solid var(--line);
}

/* ===== Filter bar ===== */
.filter-bar { background: var(--white); border-bottom: 1px solid var(--line); padding: 16px 0; }
.filter-bar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.pill-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.pill-btn {
  padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 500;
  background: var(--white); color: var(--text-2); border: 1px solid var(--line);
  cursor: pointer; transition: all .15s; text-decoration: none; display: inline-block;
}
.pill-btn:hover, .pill-btn.on { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* ===== Tool rows (category page) ===== */
.tool-rows-section { padding: 40px 0; background: var(--grey); }
.tool-rows-inner { display: flex; flex-direction: column; gap: 16px; }
.tool-row {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 24px;
  display: grid; grid-template-columns: 260px 1fr 200px; gap: 24px;
  transition: border-color .15s, box-shadow .15s;
  text-decoration: none; color: inherit;
}
.tool-row:hover { border-color: var(--ink); box-shadow: var(--shadow-md); }
.tool-row.top-pick { border-color: var(--gold); }
.rank-badge {
  position: absolute; top: 20px; left: -14px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--ink); color: var(--white);
  display: grid; place-items: center;
  font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 600;
}
.editors-choice {
  position: absolute; top: -10px; right: 16px;
  background: linear-gradient(180deg, #D9AE52, #B6863C);
  color: #fff; font-size: 11px; font-weight: 700;
  padding: 5px 10px; border-radius: 6px; letter-spacing: 0.04em;
  box-shadow: 0 3px 8px rgba(182,134,60,0.3);
}
.tool-row .col-left { display: flex; flex-direction: column; gap: 12px; }
.tool-row .col-left .row-head { display: flex; align-items: center; gap: 12px; }
.tool-row .col-left h3 { font-size: 18px; }
.tool-row .col-center { display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.tool-row .col-center .excerpt { font-size: 14px; color: var(--text-2); line-height: 1.55; }
.tool-row .specs-row { display: flex; gap: 6px; flex-wrap: wrap; }
.tool-row .col-right { display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.tool-row .affil-note { font-size: 11px; color: var(--text-3); text-align: center; }

/* ===== Comparison table ===== */
.compare-wrap { background: var(--white); padding: 56px 0; border-top: 1px solid var(--line); }
.compare-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.compare-head h2 { font-size: 28px; margin-top: 8px; }
.compare-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; font-size: 14px;
}
.compare-table th, .compare-table td { padding: 14px 18px; text-align: left; }
.compare-table thead th {
  background: var(--grey); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-3); font-weight: 600; font-family: 'JetBrains Mono', monospace;
  border-bottom: 1px solid var(--line);
}
.compare-table tbody tr + tr td { border-top: 1px solid var(--line); }
.compare-table tbody tr:hover { background: #FAFBFD; }
.compare-table .tool-name-cell { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.check { color: var(--green); font-weight: 700; }
.cross { color: var(--text-3); }

/* ===== Guide section ===== */
.guide { background: var(--grey); padding: 72px 0; }
.guide-inner { max-width: 760px; margin: 0 auto; }
.guide h2 { font-size: 32px; }
.guide h3 { font-size: 20px; margin-top: 32px; }
.guide p { margin-top: 12px; font-size: 16px; line-height: 1.65; color: var(--text-2); }

/* ===== CTA banner ===== */
.cta-banner { background: var(--sienna); padding: 48px 0; }
.cta-banner-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-banner h3 { color: var(--white); font-size: 24px; max-width: 680px; margin: 0; }

/* ===== Review page ===== */
.review-hero { background: var(--white); padding: 40px 0 64px; border-bottom: 1px solid var(--line); }
.review-hero-grid { display: grid; grid-template-columns: 1fr 380px; gap: 56px; align-items: start; margin-top: 20px; }
.review-hero h1 { font-size: 44px; max-width: 600px; margin-top: 16px; }
.meta-row {
  margin-top: 14px; font-size: 13px; color: var(--text-3);
  font-family: 'JetBrains Mono', monospace;
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
}
.big-rating {
  margin-top: 28px; display: flex; align-items: center; gap: 16px;
  padding: 16px 20px; background: var(--grey); border-radius: var(--radius-lg);
  width: fit-content; flex-wrap: wrap;
}
.big-rating .stars { font-size: 22px; letter-spacing: 2px; }
.big-rating .score-num {
  font-size: 28px; font-weight: 800;
  font-family: 'JetBrains Mono', monospace; color: var(--ink);
}
.big-rating .out { font-size: 14px; color: var(--text-3); font-family: 'JetBrains Mono', monospace; }

.verdict-card {
  margin-top: 28px; padding: 24px; background: var(--grey);
  border-radius: var(--radius-lg); border-left: 3px solid var(--sienna);
}
.verdict-card .label {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: var(--sienna); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600;
}
.verdict-card p { margin-top: 8px; font-size: 16px; color: var(--ink); line-height: 1.55; }

.sticky-buy {
  position: sticky; top: 92px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm);
}
.sticky-buy .buy-head { display: flex; align-items: center; gap: 12px; }
.sticky-buy .score-badge {
  margin-left: auto; background: var(--ink); color: var(--white);
  padding: 6px 10px; border-radius: 8px;
  font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 14px;
}
.sticky-buy .price-block {
  margin-top: 20px; padding: 16px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.sticky-buy .price-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 0; font-size: 14px;
}
.sticky-buy .price-row .k { color: var(--text-3); }
.sticky-buy .price-row .v { font-family: 'JetBrains Mono', monospace; font-weight: 600; color: var(--ink); }
.sticky-buy .affil-disc { font-size: 11px; color: var(--text-3); margin-top: 12px; text-align: center; line-height: 1.5; }
.sticky-buy .affil-disc a { color: var(--sienna); }

.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pc-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.pc-card h4 {
  font-size: 13px; color: var(--text-3); letter-spacing: 0.08em;
  text-transform: uppercase; font-family: 'JetBrains Mono', monospace;
  font-weight: 600; margin-bottom: 14px;
}
.pc-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.pc-list li { display: flex; gap: 10px; font-size: 14px; line-height: 1.5; color: var(--text); }
.pc-list.pros li::before { content: '✓'; color: var(--green); font-weight: 800; flex-shrink: 0; }
.pc-list.cons li::before { content: '✕'; color: var(--red); font-weight: 800; flex-shrink: 0; }

.specs-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
}
.specs-table td { padding: 14px 20px; font-size: 14px; border-top: 1px solid var(--line); }
.specs-table tr:first-child td { border-top: 0; }
.specs-table td:first-child {
  color: var(--text-3); font-family: 'JetBrains Mono', monospace;
  font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; width: 38%;
}
.specs-table td:last-child { font-weight: 600; color: var(--ink); }

.review-main { padding: 72px 0; }
.review-main-grid { display: grid; grid-template-columns: 1fr 300px; gap: 56px; align-items: start; }
.review-body { max-width: 720px; }
.review-body h2 { font-size: 26px; margin-top: 48px; }
.review-body h2:first-child { margin-top: 0; }
.review-body h3 { font-size: 18px; margin-top: 24px; }
.review-body p { margin-top: 14px; font-size: 16px; line-height: 1.7; }
.pullquote {
  margin: 32px 0; padding: 24px 28px; border-left: 3px solid var(--sienna);
  background: var(--grey); border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  font-size: 19px; line-height: 1.45; color: var(--ink); font-weight: 500; letter-spacing: -0.01em;
}

.scorecard {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 24px;
  position: sticky; top: 92px; display: flex; flex-direction: column; gap: 16px;
}
.scorecard-header .eyebrow { margin-bottom: 6px; }
.scorecard-header h3 { font-size: 18px; }
.score-row { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.score-row .score-label { width: 120px; color: var(--text-2); flex-shrink: 0; }
.score-row .bar-wrap { flex: 1; height: 6px; background: var(--grey-2); border-radius: 3px; overflow: hidden; }
.score-row .bar-fill { height: 100%; background: var(--sienna); border-radius: 3px; }
.score-row .val {
  font-family: 'JetBrains Mono', monospace; font-weight: 600;
  font-size: 13px; color: var(--ink); width: 26px; text-align: right;
}
.scorecard-total {
  padding-top: 12px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
}
.scorecard-total .overall-num {
  font-family: 'JetBrains Mono', monospace; font-size: 20px;
  font-weight: 800; color: var(--ink);
}

/* ===== All tools page ===== */
.all-tools-hero { background: var(--ink); padding: 56px 0; }
.all-tools-hero h1 { color: var(--white); font-size: 44px; margin-top: 14px; }
.all-tools-hero .sub { color: #B7C3D4; font-size: 17px; margin-top: 12px; }
.all-tools-hero .eyebrow { color: #8FA3BF; }

/* ===== Static pages ===== */
.static-hero { background: var(--grey); padding: 56px 0 48px; border-bottom: 1px solid var(--line); }
.static-hero h1 { font-size: 44px; margin-top: 12px; }
.static-body { max-width: 760px; margin: 0 auto; padding: 72px 32px; }
.static-body h2 { font-size: 26px; margin-top: 40px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.static-body h2:first-child { margin-top: 0; }
.static-body h3 { font-size: 20px; margin-top: 24px; }
.static-body p { margin-top: 14px; font-size: 16px; line-height: 1.7; color: var(--text-2); }
/* Only colour plain text links — never override .btn colour */
.static-body a:not(.btn) { color: var(--sienna); }
.static-body ul { margin-top: 12px; padding-left: 20px; color: var(--text-2); }
.static-body ul li { margin-top: 8px; font-size: 16px; line-height: 1.6; }

/* ===== Pagefind search UI overrides ===== */
.pagefind-ui { --pagefind-ui-primary: #E86432; --pagefind-ui-text: #0D2137; --pagefind-ui-font: 'Plus Jakarta Sans', sans-serif; }
#search { margin-top: 24px; }

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .tool-row { grid-template-columns: 1fr; gap: 16px; }
  .review-hero-grid { grid-template-columns: 1fr; }
  .review-main-grid { grid-template-columns: 1fr; }
  .scorecard { position: static; }
  .sticky-buy { position: static; }
  .uae-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .cat-hero-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  h1 { font-size: 38px; }
  h2 { font-size: 28px; }
  .container { padding: 0 20px; }
  .section { padding: 56px 0; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-grid, .tools-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; }
  .proscons { grid-template-columns: 1fr; }
  /* Nav: hide links + search on mobile, prevent overflow */
  .nav-links { display: none; }
  .search-mini { display: none; }
  .nav-inner { padding: 0 16px; gap: 8px; }
  .logo { font-size: 16px; }
  .logo-mark { width: 20px; height: 20px; }
  .nav-right { gap: 0; }
  /* Hero */
  .hero { padding: 56px 0 48px; }
  .hero h1 { font-size: 34px; }
  .hero .sub { font-size: 16px; }
  .hero-search { margin-top: 24px; }
  .hero-search-input { padding: 12px 14px; }
  .hero-search-input input { font-size: 14px; }
  .hero-cta { gap: 8px; }
  .hero-stats { gap: 20px; margin-top: 36px; padding-top: 24px; }
  .hero-stats .stat .num { font-size: 26px; }
  /* Other */
  .uae-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .cta-banner-inner { flex-direction: column; }
  .review-hero h1 { font-size: 34px; }
  .static-hero h1 { font-size: 34px; }
  .static-body { padding: 48px 20px; }
  /* Prevent any horizontal overflow */
  body { overflow-x: hidden; }
  .nav { overflow: hidden; }
}
