/* DaleelMob 2026 identity ("Two screens"): sky blue, navy ink, orange only for buying. Tajawal. */

:root {
  --blue: #0A5CF0;
  --blue-deep: #0049C7;
  --navy: #0B2A66;
  --ink: #0B1530;
  --muted: #46527A;
  --surface: #EEF3FF;
  --surface-2: #E1E9FF;
  --ground: #FFFFFF;
  --buy: #FF6B2C;
  --buy-deep: #EE5A1B;
  --win: #0A5CF0;

  --font: "Tajawal", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-card: 28px;
  --r-frame: 32px;
  --r-pill: 999px;

  --gutter: clamp(16px, 3.5vw, 64px);
  --max: 1760px;
  --section: clamp(72px, 9vw, 128px);

  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.3; }
p { margin: 0; }
button { font-family: inherit; }
.num { font-variant-numeric: tabular-nums; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section) 0; }
.section:last-of-type { padding-bottom: var(--section); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 44px); }
.section-head p { color: var(--muted); font-size: 18px; margin-top: 6px; }
.more { color: var(--blue); text-decoration: none; font-weight: 500; padding: 8px 0; }
.more:hover { text-decoration: underline; text-underline-offset: 6px; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--blue); color: #fff; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 28px;
  border: 0; border-radius: var(--r-pill);
  background: var(--blue); color: #fff;
  font-size: 17px; font-weight: 500; text-decoration: none; cursor: pointer;
  transition: background .2s, transform .12s var(--ease-out);
}
.btn:hover { background: var(--blue-deep); }
.btn:active { transform: scale(.97); }
.btn-buy { background: var(--buy); }
.btn-buy:hover { background: var(--buy-deep); }
.btn-soft { background: var(--surface); color: var(--navy); }
.btn-soft:hover { background: var(--surface-2); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- header ---------- */
.site-header { background: var(--ground); position: sticky; top: 0; z-index: 50; transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--surface-2); }
.header-row { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-word { font-size: 26px; font-weight: 700; line-height: 1; letter-spacing: -.01em; color: var(--navy); }
.logo-mark { width: 44px; height: 44px; object-fit: contain; }
.home-link { text-decoration: none; flex-shrink: 0; }
.nav { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.nav a { display: block; white-space: nowrap; padding: 8px 14px; border-radius: var(--r-pill); text-decoration: none; font-size: 17px; font-weight: 500; color: var(--ink); transition: background .2s; }
.nav a:hover { background: var(--surface); }
.nav a[aria-current="page"] { background: var(--surface); color: var(--blue); }
.header-search { margin-inline-start: auto; position: relative; flex: 0 1 340px; }
.header-search input {
  width: 100%; height: 48px; border: 0; border-radius: var(--r-pill);
  background: var(--surface); color: var(--ink); font-family: inherit; font-size: 16px;
  padding: 0 20px 0 52px;
}
.header-search input::placeholder { color: var(--muted); }
.header-search button { position: absolute; left: 6px; top: 6px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lang { text-decoration: none; font-weight: 500; font-size: 16px; color: var(--navy); padding: 8px 12px; border-radius: var(--r-pill); }
.lang:hover { background: var(--surface); }
.menu-toggle { display: none; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--surface); color: var(--navy); cursor: pointer; place-items: center; }

@media (max-width: 1120px) {
  .header-row { gap: 12px; min-height: 68px; flex-wrap: wrap; }
  .menu-toggle { display: grid; margin-inline-start: auto; }
  .nav { display: none; order: 4; width: 100%; flex-direction: column; padding-bottom: 12px; }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 16px; font-size: 18px; }
  .header-search { order: 3; flex: 1 1 100%; margin: 0 0 12px; }
  .lang { order: 2; }
  .logo-word { font-size: 23px; }
}

/* ---------- home hero ---------- */
.hero { padding-block: clamp(32px, 6vw, 80px) 0; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(40px, 6vw, 80px); line-height: 1.15; letter-spacing: -.015em; }
.hero-lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink); margin-top: 24px; max-width: 34ch; }
.hero-facts { display: flex; gap: 32px; margin-top: 40px; flex-wrap: wrap; }
.hero-facts div { display: flex; flex-direction: column; }
.hero-facts b { font-size: 34px; font-weight: 700; line-height: 1.1; color: var(--navy); }
.hero-facts span { color: var(--muted); font-size: 16px; }

/* ---------- compare picker (the live thing) ---------- */
.picker { background: var(--surface); border-radius: var(--r-card); padding: clamp(20px, 3vw, 36px); }
.picker-title { font-size: 20px; font-weight: 500; margin-bottom: 20px; }
.picker-slots { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: stretch; }
.slot {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  min-height: 290px; padding: 20px 14px; border: 0; border-radius: var(--r-frame);
  background: var(--ground); color: var(--ink); cursor: pointer; text-align: center;
  transition: transform .2s var(--ease-out), background .2s;
}
.slot:hover { background: #F8FAFF; }
.slot:active { transform: scale(.98); }
.slot-img { width: 100%; height: 170px; display: grid; place-items: center; }
.slot-img img { max-height: 170px; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.slot-empty { width: 86px; height: 150px; border-radius: 20px; border: 3px dashed #B9CDFF; display: grid; place-items: center; color: var(--blue); font-size: 40px; font-weight: 300; }
.slot-name { font-size: 18px; font-weight: 700; line-height: 1.4; }
.slot-brand { font-size: 15px; color: var(--muted); }
.slot-hint { font-size: 16px; color: var(--muted); }
.vs { align-self: center; width: 52px; height: 52px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; font-size: 17px; display: grid; place-items: center; }
.picker-go { width: 100%; margin-top: 18px; }
.picker-error { color: #C2410C; font-size: 16px; margin-top: 10px; min-height: 1.5em; }

/* search dialog */
.dlg { width: min(720px, calc(100% - 24px)); max-height: min(80vh, 760px); border: 0; border-radius: var(--r-card); padding: 0; color: var(--ink); box-shadow: 0 30px 80px rgba(11, 21, 48, .25); }
.dlg::backdrop { background: rgba(11, 21, 48, .45); }
.dlg-head { position: sticky; top: 0; background: var(--ground); padding: 22px 22px 14px; display: flex; gap: 12px; align-items: center; z-index: 1; }
.dlg-head input { flex: 1; height: 54px; border: 0; border-radius: var(--r-pill); background: var(--surface); font-family: inherit; font-size: 18px; padding: 0 22px; color: var(--ink); }
.dlg-close { width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--surface); color: var(--navy); font-size: 26px; cursor: pointer; line-height: 1; }
.dlg-body { padding: 4px 22px 22px; }
.dlg-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.dlg-results button { border: 0; background: var(--surface); border-radius: 20px; padding: 14px 10px; cursor: pointer; font-family: inherit; font-size: 15px; font-weight: 500; color: var(--ink); line-height: 1.4; display: flex; flex-direction: column; align-items: center; gap: 10px; transition: background .2s, transform .12s; }
.dlg-results button:hover { background: var(--surface-2); }
.dlg-results button:active { transform: scale(.97); }
.dlg-results img { height: 96px; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.dlg-note { color: var(--muted); font-size: 16px; padding: 18px 0; }

/* ---------- popular comparisons ---------- */
.pairs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); gap: 16px; }
.pair { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 22px 26px; background: var(--surface); border-radius: var(--r-card); text-decoration: none; transition: background .2s, transform .2s var(--ease-out); }
.pair:hover { background: var(--surface-2); }
.pair:active { transform: scale(.99); }
.pair-dev { display: flex; align-items: center; gap: 14px; min-width: 0; }
.pair-dev:last-child { flex-direction: row-reverse; text-align: left; }
.pair-dev img { width: 56px; height: 76px; object-fit: contain; mix-blend-mode: multiply; flex-shrink: 0; }
.pair-dev span { font-weight: 500; font-size: 17px; line-height: 1.4; }
.pair .vs { width: 40px; height: 40px; font-size: 14px; }

/* ---------- device tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.tile { display: flex; flex-direction: column; gap: 12px; padding: 18px; background: var(--surface); border-radius: var(--r-card); text-decoration: none; transition: background .2s, transform .25s var(--ease-out); }
.tile:hover { background: var(--surface-2); transform: translateY(-3px); }
.tile-img { aspect-ratio: 4 / 5; display: grid; place-items: center; border-radius: 22px; background: var(--ground); overflow: hidden; }
.tile-img img { max-height: 86%; max-width: 80%; object-fit: contain; mix-blend-mode: multiply; transition: transform .35s var(--ease-out); }
.tile:hover .tile-img img { transform: scale(1.04); }
.tile-name { font-weight: 700; font-size: 17px; line-height: 1.4; }
.tile-meta { color: var(--muted); font-size: 15px; display: flex; justify-content: space-between; gap: 8px; }

/* ---------- brands & categories ---------- */
.brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.brand { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px 12px 16px; background: var(--surface); border-radius: var(--r-card); text-decoration: none; transition: background .2s; }
.brand:hover { background: var(--surface-2); }
.brand img { height: 48px; width: auto; max-width: 110px; object-fit: contain; mix-blend-mode: multiply; }
.brand span { font-weight: 500; font-size: 16px; }

.cats { display: flex; flex-wrap: wrap; gap: 10px; }
.cat { display: inline-flex; align-items: center; min-height: 52px; padding: 10px 24px; border-radius: var(--r-pill); background: var(--navy); color: #fff; text-decoration: none; font-weight: 500; font-size: 18px; transition: background .2s, transform .12s; }
.cat:hover { background: var(--blue); }
.cat:active { transform: scale(.97); }

/* ---------- articles ---------- */
.posts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.post-card { display: flex; flex-direction: column; gap: 14px; text-decoration: none; }
.post-card img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; border-radius: 22px; background: var(--surface); }
.post-card h3 { font-size: 18px; font-weight: 500; line-height: 1.55; }
.post-card:hover h3 { color: var(--blue); }

/* ---------- device page ---------- */
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: 15px; color: var(--muted); padding-top: 24px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--blue); }
.dev-hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; padding-top: 20px; }
.dev-title { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.2; }
.dev-en { font-size: 18px; color: var(--muted); margin-top: 8px; direction: ltr; text-align: right; }
.dev-keys { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 32px; }
.dev-key { background: var(--surface); border-radius: 20px; padding: 14px 18px; }
.dev-key span { display: block; font-size: 15px; color: var(--muted); }
.dev-key b { display: block; font-size: 19px; font-weight: 700; line-height: 1.4; }
.dev-price { margin-top: 28px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.dev-price b { font-size: 36px; font-weight: 700; color: var(--navy); }
.dev-price span { color: var(--muted); font-size: 16px; }
.dev-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.dev-gallery { background: var(--surface); border-radius: var(--r-frame); padding: clamp(20px, 4vw, 48px); position: sticky; top: 96px; }
.dev-main { aspect-ratio: 4 / 5; display: grid; place-items: center; }
.dev-main img { max-height: 100%; max-width: 86%; object-fit: contain; mix-blend-mode: multiply; }
.dev-thumbs { display: flex; gap: 10px; justify-content: center; margin-top: 18px; flex-wrap: wrap; }
.dev-thumbs button { width: 64px; height: 76px; border: 0; border-radius: 16px; background: var(--ground); padding: 6px; cursor: pointer; transition: transform .12s; }
.dev-thumbs button[aria-pressed="true"] { outline: 3px solid var(--blue); }
.dev-thumbs img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }

.spec-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.spec-group { background: var(--surface); border-radius: var(--r-card); padding: 26px 28px; }
.spec-group h3 { font-size: 22px; margin-bottom: 10px; }
.spec-group dl { margin: 0; }
.spec-row { display: grid; grid-template-columns: 1fr 1.2fr; gap: 16px; padding: 12px 0; }
.spec-row + .spec-row { border-top: 2px solid var(--ground); }
.spec-row dt { color: var(--muted); font-size: 16px; }
.spec-row dd { margin: 0; font-weight: 500; font-size: 17px; overflow-wrap: anywhere; }

.prose { max-width: 72ch; font-size: 18px; line-height: 1.95; }
.prose h2, .prose h3 { font-size: 26px; margin: 40px 0 12px; }
.prose p { margin: 0 0 16px; }
.prose ul { padding-inline-start: 22px; }

/* ---------- compare page ---------- */
.cmp-title { font-size: clamp(30px, 4vw, 52px); line-height: 1.25; padding-top: 28px; max-width: 24ch; }
.cmp-heads { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: stretch; margin-top: 36px; }
.cmp-dev { background: var(--surface); border-radius: var(--r-frame); padding: 24px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.cmp-dev.is-winner { background: var(--blue); color: #fff; }
.cmp-dev.is-winner .cmp-dev-brand, .cmp-dev.is-winner .cmp-dev-price span { color: #DDE7FF; }
.cmp-dev .img { height: 220px; width: 100%; display: grid; place-items: center; background: var(--ground); border-radius: 24px; }
.cmp-dev .img img { max-height: 190px; max-width: 80%; object-fit: contain; mix-blend-mode: multiply; }
.cmp-dev h2 { font-size: 22px; line-height: 1.4; margin-top: 6px; }
.cmp-dev h2 a { text-decoration: none; }
.cmp-dev h2 a:hover { text-decoration: underline; text-underline-offset: 6px; }
.cmp-dev-brand { color: var(--muted); font-size: 16px; }
.cmp-dev-price { font-size: 22px; font-weight: 700; }
.cmp-dev-price span { display: block; font-size: 15px; font-weight: 400; color: var(--muted); }
.cmp-dev .score { font-size: 64px; font-weight: 700; line-height: 1; margin-top: 6px; }
.cmp-dev .score small { display: block; font-size: 15px; font-weight: 400; margin-top: 6px; }
.cmp-dev .btn { margin-top: auto; width: 100%; }

.verdict { margin-top: 20px; background: var(--navy); color: #fff; border-radius: var(--r-card); padding: 28px 32px; display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; }
.verdict b { font-size: 22px; }
.verdict p { font-size: 19px; line-height: 1.8; }

.cmp-table { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0 8px; margin-top: 12px; }
.cmp-table caption { text-align: right; font-size: 28px; font-weight: 700; padding: 0 0 8px; }
.cmp-table th { font-weight: 500; color: var(--muted); font-size: 16px; padding: 14px 18px; background: var(--surface); text-align: start; width: 24%; }
.cmp-table thead th { background: transparent; color: var(--navy); font-weight: 700; text-align: center; padding-bottom: 4px; }
.cmp-table thead th:first-child { text-align: start; }
.cmp-table td { padding: 14px 18px; background: var(--surface); text-align: center; font-size: 17px; font-weight: 500; overflow-wrap: anywhere; }
.cmp-table tr > *:first-child { border-radius: 0 18px 18px 0; }
.cmp-table tr > *:last-child { border-radius: 18px 0 0 18px; }
.cmp-table td.win { background: var(--win); color: #fff; }
.cmp-table td.win::after { content: " ✓"; }
.cmp-swap { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: #fff; margin-top: var(--section); padding: 44px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; align-items: start; }
.footer-about p { color: #C9D6FF; margin-top: 12px; max-width: 46ch; font-size: 16px; line-height: 1.7; }
.site-footer h2 { font-size: 16px; font-weight: 500; color: #C9D6FF; margin-bottom: 6px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li a { display: inline-block; padding: 4px 0; text-decoration: none; font-size: 16px; }
.site-footer li a:hover { text-decoration: underline; text-underline-offset: 6px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 28px; padding-top: 18px; border-top: 2px solid #1B3478; color: #C9D6FF; font-size: 14px; }
.socials { display: flex; gap: 8px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; background: #1B3478; display: grid; place-items: center; transition: background .2s; }
.socials a:hover { background: var(--blue); }
.socials svg { width: 20px; height: 20px; }

/* ---------- entrance motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .rise { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: var(--d, 0ms); }
  .js .rise.in { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .dev-hero { grid-template-columns: 1fr; }
  .dev-gallery { position: static; order: -1; }
  .posts { grid-template-columns: repeat(2, 1fr); }
  .spec-groups { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  .hero-facts { gap: 20px; margin-top: 28px; flex-wrap: nowrap; }
  .hero-facts b { font-size: 24px; }
  .hero-facts span { font-size: 14px; line-height: 1.4; }
  .picker-slots { gap: 8px; }
  .slot { min-height: 230px; padding: 14px 8px; }
  .slot-img, .slot-img img { height: 120px; max-height: 120px; }
  .slot-empty { width: 64px; height: 110px; }
  .vs { width: 40px; height: 40px; font-size: 14px; }
  .tiles { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .tile { padding: 12px; border-radius: 22px; }
  .posts { grid-template-columns: 1fr; }
  .cmp-heads { gap: 8px; }
  .cmp-dev { padding: 12px; }
  .cmp-dev .img { height: 140px; }
  .cmp-dev .img img { max-height: 120px; }
  .cmp-dev h2 { font-size: 17px; }
  .cmp-dev .score { font-size: 44px; }
  .cmp-table th, .cmp-table td { padding: 12px 8px; font-size: 15px; }
  .cmp-table th { width: 30%; }
  .cmp-dev .btn { min-height: 44px; padding: 8px 12px; font-size: 15px; }
  .verdict { grid-template-columns: 1fr; gap: 8px; padding: 22px; }
  .dev-keys { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .pair { padding: 16px; }
  .pair-dev img { width: 40px; height: 56px; }
  .pair-dev span { font-size: 15px; }
}

/* ---------- devices list ---------- */
.list-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: clamp(28px, 4vw, 56px); }
.list-head h1 { font-size: clamp(32px, 4.4vw, 56px); }
.list-head p { color: var(--muted); font-size: 18px; }
.cat-tabs { display: flex; gap: 8px; margin-top: 24px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tabs a { flex-shrink: 0; min-height: 46px; display: inline-flex; align-items: center; padding: 8px 20px; border-radius: var(--r-pill); background: var(--surface); text-decoration: none; font-weight: 500; transition: background .2s; }
.cat-tabs a:hover { background: var(--surface-2); }
.cat-tabs a[aria-current="true"] { background: var(--navy); color: #fff; }
.filters { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 16px 0 32px; }
.select select { appearance: none; min-height: 48px; border: 0; border-radius: var(--r-pill); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230B2A66' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat left 16px center; padding: 0 20px 0 44px; font-family: inherit; font-size: 16px; font-weight: 500; color: var(--ink); cursor: pointer; }
[dir="ltr"] .select select { background-position: right 16px center; padding: 0 44px 0 20px; }
.empty { background: var(--surface); border-radius: var(--r-card); padding: 48px 32px; text-align: center; display: grid; gap: 20px; justify-items: center; font-size: 19px; }

.pager { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 48px; flex-wrap: wrap; }
.pager-nums { display: flex; gap: 6px; align-items: center; }
.pager-num, .pager-step { min-width: 48px; height: 48px; display: inline-grid; place-items: center; padding: 0 16px; border-radius: var(--r-pill); background: var(--surface); text-decoration: none; font-weight: 500; transition: background .2s; }
.pager a:hover { background: var(--surface-2); }
.pager-num.is-current { background: var(--blue); color: #fff; }
.pager-step.is-off { opacity: .45; }
.pager-gap { color: var(--muted); padding: 0 2px; }
@media (max-width: 600px) { .pager-step { padding: 0 14px; } .pager-num { min-width: 42px; height: 42px; padding: 0 10px; } }

/* ---------- blog ---------- */
.post-meta { color: var(--muted); font-size: 15px; }
.lead-post { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; margin: 8px 0 48px; padding: clamp(16px, 2vw, 24px); background: var(--surface); border-radius: var(--r-card); text-decoration: none; transition: background .2s; }
.lead-post:hover { background: var(--surface-2); }
.lead-post img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 22px; }
.lead-post h2 { font-size: clamp(24px, 2.6vw, 36px); line-height: 1.4; margin: 8px 0 12px; }
.lead-post p { color: var(--muted); font-size: 17px; }
.posts-grid { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
.posts-3 { grid-template-columns: repeat(3, 1fr); }
.post-card .post-meta { margin-bottom: -6px; }

.article { max-width: 860px; }
.article-head { padding-top: 20px; }
.article-head h1 { font-size: clamp(30px, 4vw, 50px); line-height: 1.35; }
.article-head .post-meta { margin-top: 14px; }
.article-cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-card); margin-top: 32px; background: var(--surface); }
.article-body { margin-top: 40px; max-width: none; }
.article-body img { height: auto; border-radius: 18px; margin: 16px 0; }
.article-body a { color: var(--blue); }
.article-body table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 16px; display: block; overflow-x: auto; }
.article-body th, .article-body td { padding: 10px 12px; background: var(--surface); border: 2px solid var(--ground); }
.article-body * { max-width: 100%; }
.article-body [style*="font-family"] { font-family: inherit !important; }
.article-body [style*="font-size"] { font-size: inherit !important; }

@media (max-width: 980px) {
  .lead-post { grid-template-columns: 1fr; }
  .posts-grid, .posts-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .posts-grid, .posts-3 { grid-template-columns: 1fr; }
}

/* ---------- 2026-10 round 2: categories, three-way compare ---------- */
.section-tight { padding-top: clamp(48px, 6vw, 80px); }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.cat-card { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 26px 12px 20px; background: var(--surface); border-radius: var(--r-card); text-decoration: none; text-align: center; transition: background .2s, transform .25s var(--ease-out); }
.cat-card:hover { background: var(--blue); color: #fff; transform: translateY(-3px); }
.cat-card:hover .cat-icon, .cat-card:hover .cat-count { color: #fff; }
.cat-icon { width: 56px; height: 56px; color: var(--blue); transition: color .2s; }
.cat-name { font-weight: 700; font-size: 18px; line-height: 1.3; }
.cat-count { font-size: 14px; color: var(--muted); }
.cat-card.is-soon { opacity: .7; }

.picker-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.picker-top .picker-title { margin: 0; }
.picker-add { border: 0; background: var(--ground); color: var(--blue); font-family: inherit; font-weight: 500; font-size: 16px; min-height: 44px; padding: 8px 18px; border-radius: var(--r-pill); cursor: pointer; transition: background .2s; }
.picker-add:hover { background: var(--surface-2); }
.slot-wrap { position: relative; display: flex; }
.slot-wrap .slot { flex: 1; }
.slot-third, .vs-third { display: none; }
.picker-slots.has-third { grid-template-columns: 1fr auto 1fr auto 1fr; }
.picker-slots.has-third .slot-third { display: flex; }
.picker-slots.has-third .vs-third { display: grid; }
.picker-slots.has-third .slot { min-height: 250px; }
.picker-slots.has-third .slot-img, .picker-slots.has-third .slot-img img { height: 130px; max-height: 130px; }
.slot-remove { position: absolute; top: 8px; inset-inline-end: 8px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--surface); color: var(--navy); font-size: 22px; line-height: 1; cursor: pointer; }

.cmp-heads.cmp-3 { grid-template-columns: 1fr auto 1fr auto 1fr; }
.cmp-table-wrap { overflow-x: auto; }
.cmp-table-3 { min-width: 640px; }
.cmp-table-3 td { width: 25%; }

@media (max-width: 600px) {
  .picker-slots.has-third { grid-template-columns: 1fr 1fr; }
  .picker-slots.has-third .vs { display: none; }
  .picker-slots.has-third .slot-third { grid-column: 1 / -1; }
  .cmp-heads.cmp-3 { grid-template-columns: 1fr 1fr; }
  .cmp-heads.cmp-3 .vs { display: none; }
  .cmp-heads.cmp-3 .cmp-dev:last-child { grid-column: 1 / -1; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cmp-table th { width: 32%; }
}

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 80px); align-items: start; padding-top: clamp(32px, 5vw, 72px); }
.contact h1 { font-size: clamp(36px, 5vw, 64px); line-height: 1.2; }
.contact-reasons { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 12px; }
.contact-reasons li { background: var(--surface); border-radius: 20px; padding: 16px 20px; display: grid; gap: 2px; }
.contact-reasons b { font-size: 18px; }
.contact-reasons span { color: var(--muted); font-size: 16px; }
.contact-ways { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.contact-way { display: grid; padding: 12px 20px; border-radius: 20px; background: var(--navy); color: #fff; text-decoration: none; line-height: 1.4; transition: background .2s; }
.contact-way:hover { background: var(--blue); }
.contact-way span { font-size: 14px; color: #C9D6FF; }
.contact-way b { font-weight: 500; }
.contact-card { background: var(--surface); border-radius: var(--r-card); padding: clamp(22px, 3vw, 40px); }
.form h2 { font-size: 26px; margin-bottom: 20px; }
.field { display: grid; gap: 8px; margin-bottom: 18px; border: 0; padding: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label, .field legend { font-weight: 500; font-size: 16px; padding: 0; }
.field input, .field textarea { width: 100%; border: 2px solid transparent; border-radius: 18px; background: var(--ground); font-family: inherit; font-size: 17px; color: var(--ink); padding: 14px 18px; transition: border-color .2s; }
.field input { min-height: 54px; }
.field textarea { resize: vertical; min-height: 150px; line-height: 1.7; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); }
.field [aria-invalid="true"] { border-color: #DC4C1F; }
.field-error { color: #C2410C; font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip-radio input { position: absolute; opacity: 0; pointer-events: none; }
.chip-radio span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: var(--r-pill); background: var(--ground); font-size: 15px; font-weight: 500; cursor: pointer; transition: background .2s, color .2s; }
.chip-radio input:checked + span { background: var(--blue); color: #fff; }
.chip-radio input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.form .btn { width: 100%; margin-top: 6px; }
.form-note { color: var(--muted); font-size: 14px; margin-top: 12px; text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sent { display: grid; justify-items: center; text-align: center; gap: 14px; padding: 40px 10px; color: var(--ink); }
.sent svg { color: var(--blue); }
.sent h2 { font-size: 28px; }
.sent p { color: var(--muted); max-width: 36ch; }
@media (max-width: 980px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; gap: 0; } }

/* ---------- about / usage / privacy ---------- */
.page-hero { padding-top: clamp(36px, 6vw, 88px); }
.page-hero h1 { font-size: clamp(40px, 6vw, 80px); line-height: 1.15; }
.page-hero .hero-lede { max-width: 52ch; }
.page-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.stat-board { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat-board div { background: var(--surface); border-radius: var(--r-card); padding: 26px 24px; display: grid; gap: 4px; }
.stat-board div:first-child { background: var(--blue); color: #fff; }
.stat-board div:first-child span { color: #DDE7FF; }
.stat-board b { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.1; font-weight: 700; }
.stat-board span { color: var(--muted); font-size: 16px; }

.feature-rows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { background: var(--surface); border-radius: var(--r-card); padding: 30px 28px; display: flex; flex-direction: column; gap: 12px; }
.feature h3 { font-size: 23px; }
.feature p { color: var(--ink); flex: 1; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.split-card { background: var(--surface); border-radius: var(--r-card); padding: clamp(28px, 4vw, 48px); }
.split-card.navy { background: var(--navy); color: #fff; }
.split-card h2 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 12px; }
.split-card p { font-size: 19px; line-height: 1.85; }

.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 0; }
.facts div { background: var(--surface); border-radius: var(--r-card); padding: 26px 28px; }
.facts dt { font-weight: 700; font-size: 20px; margin-bottom: 6px; }
.facts dd { margin: 0; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; counter-reset: step; }
.step { counter-increment: step; background: var(--surface); border-radius: var(--r-card); padding: 30px 28px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.step::before { content: counter(step); width: 52px; height: 52px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 22px; font-weight: 700; }
.step h2 { font-size: 24px; }
.step .btn { margin-top: auto; }

.faq { display: grid; gap: 10px; max-width: 900px; }
.faq details { background: var(--surface); border-radius: 22px; padding: 4px 24px; }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 19px; padding: 18px 0; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; font-weight: 400; color: var(--blue); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 20px; }
.faq a, .legal-body a { color: var(--blue); }

.legal-head { padding-top: clamp(28px, 4vw, 56px); }
.legal { display: grid; grid-template-columns: 280px 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; padding-top: 28px; }
.legal-nav { position: sticky; top: 96px; background: var(--surface); border-radius: var(--r-card); padding: 22px 22px 14px; }
.legal-nav-title { font-weight: 700; margin-bottom: 8px; }
.legal-nav ul { list-style: none; margin: 0; padding: 0; }
.legal-nav a { display: block; padding: 7px 0; text-decoration: none; color: var(--muted); font-size: 16px; }
.legal-nav a:hover { color: var(--blue); }
.legal-body { max-width: 820px; }
.legal-body .prose { max-width: none; }
.legal-body .prose > p:first-child { margin-top: 0; }
.legal-body h2 { scroll-margin-top: 96px; }

@media (max-width: 980px) {
  .page-hero-grid, .split, .legal { grid-template-columns: 1fr; }
  .feature-rows, .steps, .facts { grid-template-columns: 1fr; }
  .legal-nav { position: static; }
}

/* data provenance under "full specs" */
.provenance { color: var(--muted); font-size: 15px; margin: 0; }
.provenance a { color: var(--blue); }
.provenance .verified { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 12px; margin-inline-end: 4px; }

/* ---------- visitor reviews ---------- */
.reviews-count { color: var(--muted); font-weight: 400; font-size: .6em; }
.reviews { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; align-items: start; }
.review-list { display: grid; gap: 10px; }
.review { background: var(--surface); border-radius: 20px; padding: 18px 22px; }
.review header { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.review p { margin-top: 8px; }
.review time { display: block; color: var(--muted); font-size: 14px; margin-top: 8px; }
.stars { color: #F5A524; letter-spacing: 2px; }
.stars .off { color: #D5DCEC; }
.empty-note { color: var(--muted); background: var(--surface); border-radius: 20px; padding: 22px; }
.review-form-card { background: var(--surface); border-radius: var(--r-card); padding: 24px; position: sticky; top: 96px; }
.review-form-card h3 { font-size: 21px; margin-bottom: 14px; }
.rate-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
[dir="rtl"] .rate-input { flex-direction: row-reverse; }
.rate-input input { position: absolute; opacity: 0; pointer-events: none; }
.rate-input label { font-size: 30px; color: #D5DCEC; cursor: pointer; line-height: 1; padding: 2px; transition: color .15s; }
.rate-input input:checked ~ label, .rate-input label:hover, .rate-input label:hover ~ label { color: #F5A524; }
.rate-input input:focus-visible + label { outline: 3px solid var(--blue); border-radius: 6px; }
@media (max-width: 980px) { .reviews { grid-template-columns: 1fr; } .review-form-card { position: static; } }
