/* IBM Plex Sans Arabic (SIL Open Font License 1.1, site/fonts/OFL.txt), self-hosted: no third-party request. */
@font-face {
  font-family: "Plex Arabic";
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url("fonts/plex-arabic-arabic-400.woff2") format("woff2");
  unicode-range:
    U+0600-06FF,
    U+0750-077F,
    U+0870-088E,
    U+0890-0891,
    U+0897-08E1,
    U+08E3-08FF,
    U+200C-200E,
    U+2010-2011,
    U+204F,
    U+2E41,
    U+FB50-FDFF,
    U+FE70-FE74,
    U+FE76-FEFC;
}
@font-face {
  font-family: "Plex Arabic";
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url("fonts/plex-arabic-latin-400.woff2") format("woff2");
  unicode-range:
    U+0000-00FF,
    U+0131,
    U+0152-0153,
    U+02BB-02BC,
    U+02C6,
    U+02DA,
    U+02DC,
    U+0304,
    U+0308,
    U+0329,
    U+2000-206F,
    U+20AC,
    U+2122,
    U+2191,
    U+2193,
    U+2212,
    U+2215,
    U+FEFF,
    U+FFFD;
}
@font-face {
  font-family: "Plex Arabic";
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url("fonts/plex-arabic-arabic-600.woff2") format("woff2");
  unicode-range:
    U+0600-06FF,
    U+0750-077F,
    U+0870-088E,
    U+0890-0891,
    U+0897-08E1,
    U+08E3-08FF,
    U+200C-200E,
    U+2010-2011,
    U+204F,
    U+2E41,
    U+FB50-FDFF,
    U+FE70-FE74,
    U+FE76-FEFC;
}
@font-face {
  font-family: "Plex Arabic";
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url("fonts/plex-arabic-latin-600.woff2") format("woff2");
  unicode-range:
    U+0000-00FF,
    U+0131,
    U+0152-0153,
    U+02BB-02BC,
    U+02C6,
    U+02DA,
    U+02DC,
    U+0304,
    U+0308,
    U+0329,
    U+2000-206F,
    U+20AC,
    U+2122,
    U+2191,
    U+2193,
    U+2212,
    U+2215,
    U+FEFF,
    U+FFFD;
}
@font-face {
  font-family: "Plex Arabic";
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url("fonts/plex-arabic-arabic-700.woff2") format("woff2");
  unicode-range:
    U+0600-06FF,
    U+0750-077F,
    U+0870-088E,
    U+0890-0891,
    U+0897-08E1,
    U+08E3-08FF,
    U+200C-200E,
    U+2010-2011,
    U+204F,
    U+2E41,
    U+FB50-FDFF,
    U+FE70-FE74,
    U+FE76-FEFC;
}
@font-face {
  font-family: "Plex Arabic";
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url("fonts/plex-arabic-latin-700.woff2") format("woff2");
  unicode-range:
    U+0000-00FF,
    U+0131,
    U+0152-0153,
    U+02BB-02BC,
    U+02C6,
    U+02DA,
    U+02DC,
    U+0304,
    U+0308,
    U+0329,
    U+2000-206F,
    U+20AC,
    U+2122,
    U+2191,
    U+2193,
    U+2212,
    U+2215,
    U+FEFF,
    U+FFFD;
}
/* Mobile-first, system fonts (no web-font download, strict CSP), light + dark, RTL via logical properties. */
:root {
  --bg: #f4f6fa;
  --card: #ffffff;
  --ink: #0f1a2b;
  --muted: #55627a;
  --line: #e1e6ef;
  --accent: #0b5cab;
  --accent-2: #0a7f86;
  --accent-ink: #ffffff;
  --soft: #eaf2fc;
  --gold: #c9a227;
  --error: #b42318;
  --ok: #1d7a3a;
  --hero-1: #071a33;
  --hero-2: #0b3d73;
  --hero-3: #0a6f7a;
  --shadow: 0 1px 2px rgb(15 26 43 / 0.05), 0 8px 24px rgb(15 26 43 / 0.07);
  --shadow-lg: 0 2px 6px rgb(7 26 51 / 0.12), 0 24px 48px rgb(7 26 51 / 0.22);
  --radius: 18px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0f15;
    --card: #141a23;
    --ink: #e8ecf2;
    --muted: #9ba6b8;
    --line: #263040;
    --accent: #5aa7ff;
    --accent-2: #4fd1c5;
    --accent-ink: #081321;
    --soft: #15233a;
    --error: #ff8a80;
    --ok: #6fd08c;
    --hero-1: #050c18;
    --hero-2: #0a2a52;
    --hero-3: #07505a;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 8px 24px rgb(0 0 0 / 0.25);
  }
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    16px/1.65 "Plex Arabic",
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Tahoma,
    "Noto Sans Arabic",
    "Geeza Pro",
    sans-serif;
  overflow-x: clip;
}
a {
  color: var(--accent);
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* header */
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px max(16px, calc(50% - 560px));
  background: rgb(255 255 255 / 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
}
@media (prefers-color-scheme: dark) {
  .top {
    background: rgb(11 15 21 / 0.9);
  }
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  min-height: 44px;
  margin-inline-end: auto;
}
.brand::before {
  content: "";
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--hero-2), var(--hero-3)) center / cover;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 34'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%230b3d73'/%3E%3Cstop offset='1' stop-color='%230a7f86'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='34' height='34' rx='10' fill='url(%23g)'/%3E%3Cpath d='M9 25V15l8-6 8 6v10h-5.5v-6h-5v6z' fill='white'/%3E%3Ccircle cx='25' cy='9' r='2.4' fill='%23e8c45a'/%3E%3C/svg%3E");
  box-shadow: 0 2px 8px rgb(11 61 115 / 0.3);
}
.top-nav {
  display: none;
  gap: 4px;
}
.top-nav a {
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--muted);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}
.top-nav a:hover {
  color: var(--ink);
  background: var(--soft);
}
.lang {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-size: 15px;
  font-weight: 600;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  text-decoration: none;
}
main {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 16px 16px;
}

/* hero: full-bleed band behind the one-sentence box */
.hero {
  position: relative;
  margin-inline: calc(50% - 50vw);
  padding: 32px max(16px, calc(50vw - 560px)) 40px;
  color: #fff;
  background-color: var(--hero-1);
  /* Dubai skyline photo (owner-supplied; phone crop centred on the Burj Khalifa) under a dark veil so text stays readable */
  background-image:
    linear-gradient(180deg, rgb(6 20 43 / 0.55) 0%, rgb(6 20 43 / 0.25) 50%, rgb(6 20 43 / 0.6) 100%),
    url("hero-dubai-m.webp");
  background-size: cover, cover;
  background-position: center, 50% 40%;
  background-repeat: no-repeat;
  overflow: hidden;
}
.hero-in {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 24px;
}
.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 12px;
  border: 1px solid rgb(255 255 255 / 0.22);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.08);
  color: #e6f0ff;
  font-size: 13px;
  font-weight: 600;
}
h1 {
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.hero h1,
.hero .lead,
.hero .trust li {
  text-shadow: 0 1px 12px rgb(6 20 43 / 0.8);
}
.hero h1 {
  font-size: 34px;
  font-weight: 800;
  color: #fff;
}
h2 {
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
}
.lead {
  font-size: 17px;
  color: var(--muted);
  margin: 0 0 18px;
}
.hero .lead {
  color: #d3e1f5;
  font-size: 17px;
  max-width: 560px;
}
.cta,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: 12px;
  background: var(--accent);
  color: var(--accent-ink);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
}
button:not(.ghost):not(:disabled):hover,
.cta:hover {
  box-shadow: 0 6px 16px rgb(11 92 171 / 0.28);
  transform: translateY(-1px);
}
.cta {
  width: 100%;
  text-align: center;
  font-size: 18px;
}
button.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
button:disabled {
  opacity: 0.6;
  cursor: progress;
}
.note {
  color: var(--muted);
  font-size: 14px;
  margin: 8px 0 0;
  text-align: center;
}
.trust {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
}
.trust li {
  padding-inline-start: 32px;
  position: relative;
  font-size: 15px;
  color: #e6eefb;
}
.trust li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgb(79 209 197 / 0.2);
  color: #7ff0e2;
  font-weight: 800;
  font-size: 13px;
  line-height: 22px;
  text-align: center;
}

/* the panel on the hero: intent box + quick starts */
.hero-panel {
  padding: 16px;
  border-radius: var(--radius);
  background: var(--card);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}
.cta-row {
  margin: 6px 0 0;
}

/* tools + compare as feature cards */
.tools-link {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 12px;
  margin: 20px 0 8px;
}
.feature {
  display: block;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: border-color 0.12s ease, transform 0.12s ease;
}
.feature:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.feature b {
  display: block;
  font-size: 17px;
  margin-bottom: 4px;
}
.feature span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.feature b::after {
  content: " →";
  color: var(--accent);
}
[dir="rtl"] .feature b::after {
  content: " ←";
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 18px;
  margin: 18px 0;
  box-shadow: var(--shadow);
}
.form-card {
  border-color: var(--accent);
  border-top: 4px solid var(--accent);
  box-shadow: 0 2px 6px rgb(11 92 171 / 0.06), 0 18px 40px rgb(11 92 171 / 0.12);
  scroll-margin-top: 72px;
}
.progress {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--muted);
}
.bar {
  height: 6px;
  background: var(--soft);
  border-radius: 999px;
  overflow: hidden;
}
.bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent);
  transition: width 0.25s;
}
fieldset.q {
  border: 0;
  margin: 0;
  padding: 0;
}
legend {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
  padding: 0;
}
legend:focus {
  outline: none;
}
.choices {
  display: grid;
  gap: 10px;
}
.choice {
  display: block;
  cursor: pointer;
}
.choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.choice span {
  display: block;
  position: relative;
  min-height: 52px;
  padding: 13px 16px;
  padding-inline-end: 40px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  font-weight: 600;
  transition: border-color 0.12s ease, background-color 0.12s ease;
}
.choice:hover span {
  border-color: var(--accent);
}
.choice input:checked + span {
  border-color: var(--accent);
  background: var(--soft);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.choice input:checked + span::after {
  content: "✓";
  position: absolute;
  inset-inline-end: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 12px;
  line-height: 20px;
  text-align: center;
}
.choice input:focus-visible + span {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.field {
  display: block;
  margin: 12px 0 0;
}
.field span {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 4px;
}
input[type="text"],
input:not([type]),
input[type="tel"],
input[type="email"] {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
}
input:focus {
  outline: 3px solid var(--soft);
  border-color: var(--accent);
}
.hint {
  font-size: 14px;
  color: var(--muted);
  margin: 6px 0 0;
}
.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 14px 0 0;
  font-size: 15px;
  cursor: pointer;
}
.consent input {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  margin-top: 2px;
  accent-color: var(--accent);
}
.consent small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 2px;
}
.never {
  font-size: 14px;
  color: var(--muted);
  border-inline-start: 3px solid var(--line);
  padding-inline-start: 10px;
  margin: 14px 0 0;
}
.hp {
  position: absolute;
  inset-inline-start: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.error {
  color: var(--error);
  font-weight: 600;
  margin: 12px 0 0;
}
.nav {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.nav button {
  flex: 1;
}
.nav button.ghost {
  flex: 0 0 auto;
}
.wa-row {
  margin: 12px 0 0;
}
.wa {
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: 12px;
  border: 1.5px solid #25d366;
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}
#done h2 {
  color: var(--ok);
}
.ref b {
  font-family: ui-monospace, monospace;
}
.how {
  list-style: none;
  counter-reset: how;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}
.how li {
  counter-increment: how;
  position: relative;
  padding-inline-start: 50px;
  min-height: 36px;
}
.how li::before {
  content: counter(how);
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--hero-2), var(--accent-2));
  color: #fff;
  font-weight: 800;
  line-height: 36px;
  text-align: center;
}
.how b {
  display: block;
  font-size: 17px;
}
.how span {
  color: var(--muted);
}
details {
  border-top: 1px solid var(--line);
  padding: 4px 0;
}
summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 8px 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: "+";
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--accent);
  font-weight: 700;
  line-height: 28px;
  text-align: center;
}
details[open] summary::after {
  content: "−";
}
details p {
  margin: 0 0 12px;
  color: var(--muted);
}
.foot {
  margin-top: 32px;
  padding: 28px max(16px, calc(50% - 380px)) 40px;
  background: var(--hero-1);
  color: #a9b6cb;
  font-size: 13px;
}
.foot a {
  color: #e6eefb;
}
.foot-brand {
  color: #fff;
  font-weight: 800;
  font-size: 16px;
}
[hidden] {
  display: none !important;
}
@media (min-width: 720px) {
  .hero {
    background-image:
      linear-gradient(180deg, rgb(6 20 43 / 0.55) 0%, rgb(6 20 43 / 0.25) 50%, rgb(6 20 43 / 0.6) 100%),
      url("hero-dubai.webp");
    background-position: center, 50% 55%;
  }
  h1 {
    font-size: 38px;
  }
  .hero h1 {
    font-size: 42px;
  }
  .top-nav {
    display: flex;
  }
  .tools-link {
    grid-template-columns: 1fr 1fr;
  }
  .card {
    padding: 28px 28px;
  }
  .cta {
    width: auto;
  }
  .note {
    text-align: start;
  }
  .choices {
    grid-template-columns: 1fr 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .bar span {
    transition: none;
  }
}
.check {
  padding-inline-start: 0;
  list-style: none;
  margin: 0;
  display: grid;
  gap: 10px;
}
.check li {
  position: relative;
  padding-inline-start: 26px;
}
.check li::before {
  content: "?";
  position: absolute;
  inset-inline-start: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
  text-align: center;
  line-height: 18px;
}
.concierge {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.concierge h3 {
  font-size: 17px;
  margin: 0 0 6px;
}
.concierge .note {
  text-align: start;
}
.cc-log {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0;
}
.cc-msg {
  max-width: 88%;
  padding: 9px 12px;
  border-radius: 14px;
  background: var(--soft);
  align-self: flex-start;
  white-space: pre-wrap;
}
.cc-msg.me {
  background: var(--accent);
  color: var(--accent-ink);
  align-self: flex-end;
}
.cc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.cc-chips button {
  min-height: 40px;
  padding: 8px 14px;
  background: var(--card);
  color: var(--ink);
  border: 1.5px solid var(--accent);
  font-weight: 600;
}
.cc-chips label {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 8px 12px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
}
.cc-form {
  display: flex;
  gap: 8px;
}
.cc-form input {
  flex: 1;
}
.quick-title {
  font-weight: 700;
  margin: 4px 0 8px;
}
.quick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}
.quick-btn {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 10px 12px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.3;
}
.quick-btn:hover,
.quick-btn:focus-visible {
  border-color: var(--accent);
  background: var(--soft);
}

/* one-sentence intent box (hero) */
.intent {
  margin: 0 0 18px;
  padding: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
}
.intent label {
  display: block;
  font-weight: 700;
  margin: 0 0 8px;
}
.intent-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.intent textarea {
  flex: 1;
  min-width: 0;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 16px; /* no zoom on iOS */
  resize: vertical;
}
.intent textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}
.intent .hint {
  margin: 8px 0 0;
}
.intent-out,
.understood {
  margin: 12px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--soft);
}
.intent-out p,
.understood p {
  margin: 0;
}
.understood {
  margin: 0 0 14px;
}
.understood-h {
  font-weight: 700;
}
.brief-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin: 8px 0;
}
.brief-chips li {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  font-size: 14px;
}
.brief {
  margin: 0 0 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-inline-start: 4px solid var(--accent);
  border-radius: 12px;
}
.brief h3 {
  margin: 0 0 6px;
  font-size: 18px;
}
.brief-h {
  margin: 10px 0 0;
  font-weight: 700;
  font-size: 15px;
}
.brief .note {
  text-align: start;
}
@media (max-width: 480px) {
  .intent-row {
    flex-direction: column;
  }
  .intent-row button {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.cta.secondary {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  font-size: 16px;
}

/* buyer calculators */
.crumbs {
  font-size: 14px;
  color: var(--muted);
  margin: 4px 0 0;
}
.tool .field {
  margin-top: 10px;
}
.seg {
  border: 0;
  padding: 0;
  margin: 12px 0 0;
}
.seg legend {
  font-weight: 600;
  margin-bottom: 6px;
}
.seg label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 14px;
  margin-inline-end: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.result {
  margin-top: 14px;
}
.res {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.res b {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.res.total {
  border-bottom: 0;
  font-size: 18px;
}

/* decision workspace */
.cmp-options {
  display: grid;
  gap: 12px;
}
/* the two option cards are drawn by compare-page.js: reserve their measured height (~1.5k px) so nothing below
   jumps when they appear (layout shift, CLS) */
.cmp-options:empty {
  min-height: 1500px;
}
.cmp-card legend {
  font-weight: 700;
  font-size: 18px;
}
.cmp-card .seg {
  margin-top: 10px;
}
.seg-h {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}
button.small {
  min-height: 40px;
  padding: 8px 14px;
  margin-top: 10px;
}
.cmp-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 12px 0;
}
.cmp-metric h3 {
  font-size: 16px;
  margin: 16px 0 6px;
}
.cmp-metric ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cmp-metric li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
}
.cmp-metric li span {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.cmp-metric li b {
  font-variant-numeric: tabular-nums;
}
.badge {
  font-style: normal;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--accent);
}
.cmp-diff {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--soft);
}

/* sub-pages: the band holds the breadcrumb, title and intro, aligned with the content column */
.hero:not(.hero-home) {
  padding: 18px max(16px, calc(50vw - 380px)) 36px;
}
.hero .crumbs,
.hero .crumbs a {
  color: #b9c9e2;
}
.hero .note {
  color: #b9c9e2;
  text-align: start;
}
.hero h1 + .lead {
  margin-bottom: 10px;
}
.hero-panel .hint,
.hero-panel .note {
  color: var(--muted);
}
.hero-panel .intent {
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}
.hero-panel .intent label {
  font-size: 17px;
}
.hero-panel .intent textarea {
  border: 1.5px solid var(--line);
}
.hero-panel .cta.secondary {
  width: 100%;
}
.hero-panel .quick {
  margin-bottom: 10px;
}
@media (min-width: 1000px) {
  .hero-home {
    background-image:
      linear-gradient(90deg, rgb(6 20 43 / 0.75) 0%, rgb(6 20 43 / 0.45) 40%, transparent 60%),
      linear-gradient(180deg, rgb(6 20 43 / 0.55) 0%, rgb(6 20 43 / 0.25) 50%, rgb(6 20 43 / 0.6) 100%),
      url("hero-dubai.webp");
    background-size: cover, cover, cover;
    background-position: center, center, 50% 35%;
  }
  [dir="rtl"] .hero-home {
    background-image:
      linear-gradient(270deg, rgb(6 20 43 / 0.75) 0%, rgb(6 20 43 / 0.45) 40%, transparent 60%),
      linear-gradient(180deg, rgb(6 20 43 / 0.55) 0%, rgb(6 20 43 / 0.25) 50%, rgb(6 20 43 / 0.6) 100%),
      url("hero-dubai.webp");
  }
  .hero-home {
    padding-top: 56px;
    padding-bottom: 72px;
  }
  .hero-home .hero-in {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
  }
  .hero-home h1 {
    font-size: 50px;
  }
  .hero-home .lead {
    font-size: 19px;
  }
  .hero-panel {
    padding: 24px;
  }
  .tools-link {
    margin-top: -28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cta,
  button,
  .feature {
    transition: none;
  }
  .cta:hover,
  button:hover,
  .feature:hover {
    transform: none;
  }
}

/* what are you looking for: property | cars (homepage, only when cars is ACTIVE) */
.vask {
  margin: 0 0 8px;
  font-weight: 800;
  font-size: 18px;
}
.vchoice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0 0 16px;
}
.vchip {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 10px 12px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
}
.vchip.on {
  border-color: var(--accent);
  background: var(--soft);
  box-shadow: inset 0 0 0 1px var(--accent);
}
a.vchip:hover,
a.vchip:focus-visible {
  border-color: var(--accent);
}

/* car guide result */
.res.fit {
  display: block;
  border-bottom: 0;
  margin: 0 0 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-inline-start: 4px solid var(--accent);
  border-radius: 12px;
}
.res.fit h3 {
  margin: 0 0 6px;
  font-size: 17px;
}
.res.fit ul {
  margin: 0;
  padding-inline-start: 18px;
  color: var(--muted);
}
.warn {
  margin: 0 0 12px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #f0c36d;
  background: #fff8e6;
  color: #5c4100;
}
.warn h3 {
  margin: 0 0 4px;
  font-size: 16px;
}
.warn ul {
  margin: 0;
  padding-inline-start: 18px;
}
@media (prefers-color-scheme: dark) {
  .warn {
    background: #2a2210;
    border-color: #6b5420;
    color: #f3dfae;
  }
}
ol.checks {
  margin: 0;
  padding-inline-start: 22px;
  display: grid;
  gap: 8px;
}

/* platform homepage: two journeys, example, principles */
.journeys {
  margin: 28px 0 8px;
}
.journeys > h2,
.principles > h2 {
  text-align: center;
  font-size: 24px;
  margin-bottom: 16px;
}
.journey-grid {
  display: grid;
  gap: 14px;
}
.journey {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px 20px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.journey::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--hero-2), var(--accent-2));
}
.journey.j-cars::before {
  background: linear-gradient(90deg, var(--accent-2), var(--gold));
}
.journey h3 {
  margin: 0 0 4px;
  font-size: 22px;
}
.journey-lead {
  margin: 0 0 12px;
  color: var(--muted);
}
.journey ul {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 8px;
  flex: 1;
}
.journey li {
  position: relative;
  padding-inline-start: 28px;
}
.journey li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  line-height: 20px;
  text-align: center;
}
.journey .cta {
  width: 100%;
}
.example .ex {
  margin: 0 0 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--bg);
  border: 1px solid var(--line);
}
.ex-q {
  margin: 0 0 10px;
  font-weight: 600;
  font-size: 17px;
}
.ex-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin: 0;
}
.ex-chips li {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
}
.principles {
  margin: 24px calc(50% - 50vw) 8px;
  padding: 36px max(16px, calc(50vw - 380px));
  background:
    radial-gradient(700px 300px at 100% 0%, rgb(10 127 134 / 0.35), transparent 60%),
    linear-gradient(160deg, var(--hero-1), var(--hero-2));
  color: #fff;
}
.principles > h2 {
  color: #fff;
}
.principle-grid {
  display: grid;
  gap: 12px;
}
.principle {
  position: relative;
  padding: 16px 16px 16px;
  padding-inline-start: 60px;
  border-radius: 14px;
  background: rgb(255 255 255 / 0.06);
  border: 1px solid rgb(255 255 255 / 0.12);
}
.pnum {
  position: absolute;
  inset-inline-start: 16px;
  top: 16px;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), #e8c45a);
  color: #1b1405;
  font-weight: 800;
  line-height: 30px;
  text-align: center;
}
.principle h3 {
  margin: 0 0 4px;
  font-size: 17px;
  color: #fff;
}
.principle p {
  margin: 0;
  color: #c9d6ea;
  font-size: 15px;
}
@media (min-width: 720px) {
  .journey-grid,
  .principle-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* decision workspace */
.ws-card h3 {
  font-size: 16px;
  margin: 14px 0 8px;
}
.ws-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}
.ws-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.ws-list b {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.ws-card .ex-chips {
  margin-bottom: 8px;
}
.ws-empty {
  text-align: start;
  margin: 18px 0 0;
}
.ws-actions {
  margin: 8px 0 24px;
}

/* icon system: one line family drawn for this site (24px grid, 1.7 stroke), painted with currentColor via mask */
.ico {
  display: inline-block;
  flex: 0 0 auto;
  width: 1.15em;
  height: 1.15em;
  vertical-align: -0.2em;
  background-color: currentColor;
  -webkit-mask: var(--ico) center / contain no-repeat;
  mask: var(--ico) center / contain no-repeat;
}
[dir="rtl"] .ico-arrow,
[dir="rtl"] .ico-plane {
  transform: scaleX(-1);
}
.ico-home {
  --ico: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%20fill=%27none%27%20stroke=%27black%27%20stroke-width=%271.7%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27%3E%3Cpath%20d=%27M3.5%2011%2012%204l8.5%207v8.5a1%201%200%200%201-1%201H15v-6H9v6H4.5a1%201%200%200%201-1-1Z%27/%3E%3C/svg%3E");
}
.ico-car {
  --ico: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%20fill=%27none%27%20stroke=%27black%27%20stroke-width=%271.7%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27%3E%3Cpath%20d=%27M4%2016.5v-3.8L6.2%207.6A1.5%201.5%200%200%201%207.6%206.7h8.8a1.5%201.5%200%200%201%201.4.9l2.2%205.1v3.8M4%2016.5h16M4%2016.5V19M20%2016.5V19M7.5%2012.8h.01M16.5%2012.8h.01M5.5%2011h13%27/%3E%3C/svg%3E");
}
.ico-calc {
  --ico: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%20fill=%27none%27%20stroke=%27black%27%20stroke-width=%271.7%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27%3E%3Cpath%20d=%27M6.5%203.5h11a1%201%200%200%201%201%201v15a1%201%200%200%201-1%201h-11a1%201%200%200%201-1-1v-15a1%201%200%200%201%201-1ZM8.5%207.5h7M8.5%2012h1.5M14%2012h1.5M8.5%2016h1.5M14%2016h1.5%27/%3E%3C/svg%3E");
}
.ico-compare {
  --ico: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%20fill=%27none%27%20stroke=%27black%27%20stroke-width=%271.7%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27%3E%3Cpath%20d=%27M4%205.5h6v13H4ZM14%205.5h6v13h-6ZM6%209h2M16%209h2M6%2012h2M16%2012h2%27/%3E%3C/svg%3E");
}
.ico-bookmark {
  --ico: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%20fill=%27none%27%20stroke=%27black%27%20stroke-width=%271.7%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27%3E%3Cpath%20d=%27M6.5%203.5h11v17l-5.5-3.6-5.5%203.6Z%27/%3E%3C/svg%3E");
}
.ico-pin {
  --ico: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%20fill=%27none%27%20stroke=%27black%27%20stroke-width=%271.7%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27%3E%3Cpath%20d=%27M12%2020.5s-6.5-6-6.5-11a6.5%206.5%200%200%201%2013%200c0%205-6.5%2011-6.5%2011ZM12%2011.6a2.1%202.1%200%201%200%200-4.2%202.1%202.1%200%200%200%200%204.2Z%27/%3E%3C/svg%3E");
}
.ico-building {
  --ico: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%20fill=%27none%27%20stroke=%27black%27%20stroke-width=%271.7%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27%3E%3Cpath%20d=%27M5%2020.5V4.5h9v16M14%209.5h5v11M8%208h3M8%2011.5h3M8%2015h3M3.5%2020.5h17%27/%3E%3C/svg%3E");
}
.ico-plane {
  --ico: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%20fill=%27none%27%20stroke=%27black%27%20stroke-width=%271.7%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27%3E%3Cpath%20d=%27M3%2013.5%2021%206l-4.5%2015-4-6.5Zm9.5%201L21%206%27/%3E%3C/svg%3E");
}
.ico-check {
  --ico: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%20fill=%27none%27%20stroke=%27black%27%20stroke-width=%271.7%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27%3E%3Cpath%20d=%27M5%2012.5%2010%2017l9-10%27/%3E%3C/svg%3E");
}
.ico-shield {
  --ico: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%20fill=%27none%27%20stroke=%27black%27%20stroke-width=%271.7%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27%3E%3Cpath%20d=%27M12%203.5%2019%206v5.5c0%204.5-3%207.6-7%209-4-1.4-7-4.5-7-9V6Z%20M9%2012l2%202%204-4.5%27/%3E%3C/svg%3E");
}
.ico-arrow {
  --ico: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%20fill=%27none%27%20stroke=%27black%27%20stroke-width=%271.7%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27%3E%3Cpath%20d=%27M5%2012h14M13%206l6%206-6%206%27/%3E%3C/svg%3E");
}

/* ================================================================ design tokens v2 (one scale for the whole site)
   Type: 1.2 ratio; Arabic gets a slightly taller line-height. Space: 4px base. Motion: fast and subtle. */
:root {
  --fs-xs: 13px;
  --fs-sm: 14px;
  --fs-md: 16px;
  --fs-lg: 18px;
  --fs-xl: 22px;
  --fs-2xl: 28px;
  --fs-3xl: 36px;
  --fs-display: 48px;
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 18px;
  --dur: 0.16s;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
[dir="rtl"] body {
  line-height: 1.75;
}
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3 {
  letter-spacing: 0;
  line-height: 1.35;
}
h2 {
  font-size: var(--fs-xl);
  font-weight: 700;
}
h3 {
  font-weight: 700;
}
.lead {
  max-width: 62ch;
}

/* homepage: intent first */
.hero-home .hero-copy .lead {
  font-size: var(--fs-lg);
  margin-bottom: 0;
}
.vchip {
  gap: var(--sp-2);
}
.vchip .ico {
  width: 20px;
  height: 20px;
}
.quick {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-3);
}
.quick-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: var(--fs-sm);
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.quick-btn .ico {
  color: var(--accent);
}
.quick-title {
  font-size: var(--fs-sm);
  color: var(--muted);
  font-weight: 600;
}

/* tools: compact strip under the hero (platform homepage) */
.tools-link.compact {
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
}
.tools-link.compact .feature {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 14px 16px;
  min-height: 56px;
}
.tools-link.compact .feature b {
  margin: 0;
  font-size: var(--fs-sm);
  line-height: 1.35;
}
.tools-link.compact .feature b::after {
  content: none;
}
.feature .ico {
  width: 22px;
  height: 22px;
  color: var(--accent);
}
.tools-link:not(.compact) .feature .ico {
  margin-bottom: var(--sp-2);
}
@media (min-width: 1000px) {
  .tools-link.compact {
    margin-top: -28px;
  }
}

/* journeys */
.journey h3 {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.journey h3 .ico {
  width: 26px;
  height: 26px;
  color: var(--accent);
}
.journey.j-cars h3 .ico {
  color: var(--accent-2);
}
.cta .ico-arrow {
  width: 18px;
  height: 18px;
}

/* intent summary: "this is what we understood" before the questions */
.understood {
  border: 1px solid var(--line);
  border-inline-start: 4px solid var(--accent);
  background: var(--soft);
  border-radius: var(--r-md);
  padding: var(--sp-4);
}
.understood-h {
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--sp-2) !important;
}
[dir="rtl"] .understood-h {
  letter-spacing: 0;
  font-size: var(--fs-sm);
}
.understood .brief-chips li {
  border-color: transparent;
  background: var(--card);
  font-weight: 700;
  color: var(--accent);
}

/* cost snapshot: the number that answers "what will this cost me?" leads, the rest supports it */
.result .res {
  align-items: baseline;
}
.result .res.total {
  padding: var(--sp-3) 0;
}
.result .res.total b {
  font-size: var(--fs-2xl);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.result .res.total span {
  font-weight: 600;
}
.result .res b {
  font-variant-numeric: tabular-nums lining-nums;
}

/* motion: fast, subtle, and off for people who prefer less motion */
.feature,
.journey,
.choice span,
.vchip {
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.journey:hover {
  border-color: var(--accent);
}
@media (prefers-reduced-motion: reduce) {
  .feature,
  .journey,
  .choice span,
  .vchip,
  .quick-btn {
    transition: none;
  }
}
@media (min-width: 1000px) {
  .hero-home h1 {
    font-size: var(--fs-display);
  }
}

/* Trust Center */
.trust-center h1 .ico {
  margin-inline-end: var(--sp-2);
  color: var(--accent);
}
.trust-center .legal {
  list-style: none;
  padding: 0;
  margin: var(--sp-3) 0;
  display: grid;
  gap: var(--sp-3);
}
.trust-center .legal li {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: var(--sp-3) var(--sp-4);
  line-height: 1.6;
}
.trust-center .st {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 999px;
  margin-inline-start: var(--sp-2);
}
.trust-center .st-in_place {
  background: #e6f4ea;
  color: var(--ok);
}
.trust-center .st-not_done {
  background: var(--soft);
  color: var(--accent);
}
.trust-center .st-review {
  background: #fff4e0;
  color: #8a5a00;
}
.trust-center .labels {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: var(--sp-2) var(--sp-4);
  margin: var(--sp-3) 0;
}
.trust-center .labels dt {
  font-weight: 600;
}
.trust-center .labels dd {
  margin: 0;
  color: var(--muted);
}
@media (max-width: 560px) {
  .trust-center .labels {
    grid-template-columns: 1fr;
  }
  .trust-center .labels dd {
    margin-bottom: var(--sp-2);
  }
}
@media (prefers-color-scheme: dark) {
  .trust-center .st-in_place {
    background: #12301c;
  }
  .trust-center .st-review {
    background: #2a2210;
    color: #f3dfae;
  }
}

/* data-kind badges on calculator results (meaning: Trust Center → data labels) */
.res .kind {
  display: inline-block;
  margin-inline-start: var(--sp-2);
  padding: 0 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  line-height: 18px;
  vertical-align: middle;
  background: var(--soft);
  color: var(--accent);
}
.res .kind-verified {
  background: #e6f4ea;
  color: var(--ok);
}
.res .kind-input {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
}
.kinds-link {
  margin: var(--sp-2) 0 0;
  font-size: var(--fs-xs);
}
@media (prefers-color-scheme: dark) {
  .res .kind-verified {
    background: #12301c;
  }
}

/* privacy page: one-tap rights requests */
.rights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--sp-2);
  margin: var(--sp-3) 0;
}

/* explainer guides */
.guide .guide-rows {
  margin: var(--sp-3) 0;
}
.guide .sources {
  padding-inline-start: 20px;
  line-height: 1.7;
}
.guide .sources .kind {
  display: inline-block;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  background: #e6f4ea;
  color: var(--ok);
}
.guide-link {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin: var(--sp-3) 0 0;
}
@media (prefers-color-scheme: dark) {
  .guide .sources .kind {
    background: #12301c;
  }
}
.hero .guide-link a {
  color: #fff;
  font-weight: 600;
}
.hero .guide-link .ico {
  color: #7ff0e2;
}
[dir="rtl"] .guide-link .ico-arrow {
  transform: scaleX(-1);
}

/* compare: needs box + fit with the buyer's own criteria */
.needs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0 var(--sp-3);
}
.fit-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: var(--sp-3);
  margin: var(--sp-2) 0;
}
.fit-head {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-2);
  margin: 0 0 var(--sp-2);
}
.fit-bar {
  height: 6px;
  border-radius: 999px;
  background: var(--soft);
  overflow: hidden;
}
.fit-bar span {
  display: block;
  height: 100%;
  background: var(--accent);
}
.fit-reasons {
  list-style: none;
  padding: 0;
  margin: var(--sp-2) 0 0;
  font-size: var(--fs-sm);
  display: grid;
  gap: 2px;
}
.fit-mark {
  display: inline-block;
  width: 1.2em;
  font-weight: 700;
  text-align: center;
}
.fit-ok .fit-mark {
  color: var(--ok);
}
.fit-no .fit-mark {
  color: var(--error);
}
.fit-part .fit-mark,
.fit-unknown .fit-mark {
  color: var(--muted);
}
/* workspace summary is drawn by workspace-page.js: reserve the empty-state height (~420 px) so the page does not jump */
.ws-out:empty {
  min-height: 420px;
}

/* Seller account (/account/) */
.account input[type="number"],
.account select,
.account textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
}
.account textarea {
  min-height: 110px;
  resize: vertical;
}
.account select:focus,
.account textarea:focus {
  outline: 3px solid var(--soft);
  border-color: var(--accent);
}
.ac-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 16px;
}
@media (min-width: 720px) {
  .ac-grid {
    grid-template-columns: 1fr 1fr;
  }
  .ac-grid .field:has(textarea),
  .ac-grid .field:has(#c-vin),
  .ac-grid .ac-actions,
  .ac-grid .error {
    grid-column: 1 / -1;
  }
}
.ac-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
}
.ac-listing {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}
.ac-listing h3 {
  margin: 8px 0 4px;
  overflow-wrap: anywhere;
}
.ac-cover {
  display: block;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
}
.ac-st {
  display: inline-block;
  font-size: var(--fs-xs);
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--accent);
  margin: 4px 0;
}
.ac-st-active {
  color: var(--ok);
}
.ac-st-rejected,
.ac-st-changes_requested {
  color: var(--error);
}
.ac-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0;
}
.ac-thumb {
  position: relative;
  margin: 0;
}
.ac-thumb img {
  width: 96px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.ac-thumb button {
  position: absolute;
  inset-block-start: 2px;
  inset-inline-end: 2px;
  min-height: 0;
  padding: 0 8px;
  background: var(--card);
}
.ac-file {
  position: relative;
  cursor: pointer;
  margin: 8px 8px 8px 0;
}
.ac-file input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

/* Public car ads (/listings/, /listing/) */
.ls-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.ls-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow);
}
.ls-card h2 {
  font-size: 17px;
  margin: 10px 0 4px;
  overflow-wrap: anywhere;
}
.ls-cover,
.ls-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  background: var(--soft);
}
.ls-price {
  font-weight: 700;
  font-size: 20px;
  margin: 4px 0;
}
.ls-gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 85%);
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin: 12px 0;
}
.ls-gallery img {
  scroll-snap-align: start;
}
.ls-specs {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 6px 16px;
  margin: 8px 0;
}
.ls-specs dt {
  color: var(--muted);
}
.ls-specs dd {
  margin: 0;
}
.ls-desc {
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.ls-safety {
  font-size: 14px;
  color: var(--muted);
  padding-inline-start: 18px;
}
.listings details summary {
  cursor: pointer;
  color: var(--muted);
  margin: 12px 0;
}
.ls-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0 16px;
}
.ls-bar .field {
  flex: 1 1 200px;
}
#f-more summary {
  cursor: pointer;
  color: var(--accent);
  margin: 14px 0 0;
  font-weight: 600;
}
.ls-more {
  text-align: center;
}
.ls-fit {
  display: inline-block;
  font-size: var(--fs-xs);
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--accent);
  margin: 6px 0 0;
}
.ls-fit-all {
  color: var(--ok);
}
.ls-fit-none {
  color: var(--muted);
}
.ls-checks {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}
.ls-checks li {
  padding: 4px 0;
}
.ls-checks .ok {
  color: var(--ok);
}
.ls-checks .no {
  color: var(--error);
}
.ls-checks .unknown {
  color: var(--muted);
}
.ls-drop {
  color: var(--ok);
  font-weight: 600;
  margin: 0;
}
.ls-drop s {
  color: var(--muted);
  font-weight: 400;
}
.ls-pricepos {
  border-inline-start: 4px solid var(--line);
  padding: 4px 12px;
  margin: 10px 0;
}
.ls-pricepos p {
  margin: 2px 0;
}
.ls-pos-below {
  border-color: var(--ok);
}
.ls-pos-above {
  border-color: var(--gold);
}
.ls-monthly b {
  font-size: 20px;
}
.ls-check ol {
  padding-inline-start: 30px;
  margin: 8px 0 0;
}
.ls-check li {
  margin: 6px 0;
}
.ac-saved-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  overflow-wrap: anywhere;
}
