/* Navvo landing — SEO/GEO content blocks (country & city picker, city grid, FAQ,
   early-access band, store buttons, tables, page heroes for the inner pages).
   Loaded AFTER landing-v2.css + landing-forms.css and uses only their tokens
   (--bg, --surface, --ink*, --line, --accent, --r-card …), so everything here sits
   inside the same liquid-glass design in light and dark. */

:root {
  --st-ok: #137A45;  --st-ok-bg: rgba(34, 160, 90, 0.12);
  --st-lim: #8A5A00; --st-lim-bg: rgba(240, 170, 40, 0.16);
  --st-pil: #5B3CC4; --st-pil-bg: rgba(120, 90, 240, 0.13);
  --st-pln: #2E5BE8; --st-pln-bg: var(--accent-soft);
  --st-unv: #5E6670; --st-unv-bg: rgba(120, 130, 145, 0.13);
  --st-no: #A1302B;  --st-no-bg: rgba(220, 80, 70, 0.12);
}
html[data-theme="dark"] {
  --st-ok: #6FD69B;  --st-ok-bg: rgba(60, 190, 120, 0.14);
  --st-lim: #F2C46B; --st-lim-bg: rgba(240, 180, 60, 0.14);
  --st-pil: #B9A6FF; --st-pil-bg: rgba(150, 120, 255, 0.16);
  --st-pln: #9DBBFF; --st-pln-bg: var(--accent-soft);
  --st-unv: #A9B1BC; --st-unv-bg: rgba(170, 180, 190, 0.12);
  --st-no: #F29A93;  --st-no-bg: rgba(230, 100, 90, 0.14);
}

/* ---- layout helpers for server-rendered pages ---- */
.wrap { width: min(1240px, 100%); margin-inline: auto; padding-inline: 24px; }
.sec { padding: 40px 0 48px; }
.nv-sec { padding: 56px 0 72px; }
.sec h2, .nv-h2 { font-size: clamp(28px, 3.2vw, 42px); font-weight: 500; line-height: 1.1; letter-spacing: -0.026em; max-width: 820px; text-wrap: pretty; }
html[data-lang="ar"] .sec h2, html[data-lang="ar"] .nv-h2 { letter-spacing: 0; line-height: 1.3; }
.sec h2 + p, .sec .sub { font-size: 16px; line-height: 1.65; color: var(--ink-2); max-width: 680px; margin-top: 12px; }
.sec h3 { font-size: 19px; font-weight: 500; letter-spacing: -0.012em; line-height: 1.3; }
.sec p { line-height: 1.68; }
.sec p + p { margin-top: 12px; }
.prose > p, .prose > ul, .prose > ol, .prose > h2, .prose > h3 { max-width: 74ch; }
.prose > p { color: var(--ink-2); }
.muted { color: var(--ink-2); }
.small { font-size: 14px; }
ul.list, ol.list { margin-top: 14px; padding-inline-start: 20px; display: grid; gap: 8px; color: var(--ink-2); line-height: 1.6; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
@media (max-width: 980px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* ---- inner-page hero (same type scale as the home hero) ---- */
.hero.nv-hero { padding: 120px 0 28px; }
.nv-hero h1 { font-size: clamp(38px, 4.4vw, 62px); font-weight: 500; line-height: 1.03; letter-spacing: -0.038em; margin-bottom: 18px; max-width: 18ch; text-wrap: balance; }
html[data-lang="ar"] .nv-hero h1 { letter-spacing: 0; line-height: 1.25; max-width: 22ch; }
.nv-hero .lede { font-size: 16.5px; line-height: 1.65; color: var(--ink-2); max-width: 64ch; text-wrap: pretty; }
.nv-hero .ctas { margin-top: 26px; }
.status-line { display: inline-flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 6px 14px 6px 8px; border-radius: 999px; margin-bottom: 22px; font-size: 13px; color: var(--ink-2); background: var(--bg-2); border: 1px solid var(--line); }
.hero.nv-hero .hero-grid { align-items: center; }

/* ---- breadcrumbs ---- */
.crumbs { padding-top: 104px; margin-bottom: -96px; position: relative; z-index: 2; font-size: 13px; color: var(--ink-3); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li:not(:last-child)::after { content: "/"; margin-inline-start: 6px; opacity: 0.6; }
.crumbs a { color: var(--ink-2); }
.crumbs a:hover { color: var(--accent); }

/* ---- glass cards used for product paths and tiles ---- */
.path, .tile, .nv-panel { border-radius: var(--r-card); padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.tile { padding: 22px; gap: 6px; }
.path .who { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--accent); }
html[data-lang="ar"] .path .who { font-family: var(--font-display); letter-spacing: 0; font-size: 13px; font-weight: 600; text-transform: none; }
.path h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.015em; }
.path ul { padding-inline-start: 18px; display: grid; gap: 7px; color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }
.path .ctas { margin-top: auto; padding-top: 8px; }
.tile h3 { font-size: 17.5px; }
.tile p { color: var(--ink-2); font-size: 14.5px; line-height: 1.6; }
.tile a.more { margin-top: 8px; font-size: 14px; color: var(--accent); }
.tile a.more:hover { text-decoration: underline; }
.nv-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
@media (max-width: 820px) { .nv-two { grid-template-columns: 1fr; } }
.nv-two .aud-card > p { font-size: 14.5px; }
.nv-card-ctas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.nv-panel { margin-top: 22px; }

/* ---- tables (inside a glass card) ---- */
.table-wrap { margin-top: 22px; overflow-x: auto; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-low); }
.table-wrap table { border-collapse: collapse; width: 100%; font-size: 14.5px; }
.table-wrap caption { text-align: start; padding: 16px 18px 0; color: var(--ink-2); font-size: 13.5px; }
.table-wrap th, .table-wrap td { text-align: start; vertical-align: top; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.table-wrap thead th { font-size: 12.5px; color: var(--ink-3); font-weight: 600; }
.table-wrap tbody tr:last-child th, .table-wrap tbody tr:last-child td { border-bottom: 0; }
.table-wrap tbody th { font-weight: 500; }
.table-wrap tbody th a { color: var(--ink); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 40%, transparent); text-underline-offset: 3px; }

/* ---- country / city picker ---- */
.picker { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 28px; }
@media (max-width: 860px) { .picker { grid-template-columns: 1fr; } }
.picker h3 { font-size: 18px; font-weight: 500; margin-bottom: 12px; }
.countries { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.countries a { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 11px 13px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); font-size: 14.5px; transition: border-color .2s, transform .2s; }
.countries a:hover { border-color: color-mix(in srgb, var(--accent) 55%, transparent); transform: translateY(-1px); }
.countries .chip { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 11px 13px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); font-size: 14.5px; }
.finder label { display: block; font-size: 13px; color: var(--ink-2); margin-bottom: 6px; }
.finder input { width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; outline: none; }
.finder input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.cities { list-style: none; margin-top: 10px; max-height: 236px; overflow: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); }
.cities li { border-bottom: 1px solid var(--line); }
.cities li:last-child { border-bottom: 0; }
.cities a { display: flex; justify-content: space-between; gap: 10px; padding: 10px 13px; font-size: 14.5px; }
.cities a:hover { background: var(--accent-soft); }
.cities .c { color: var(--ink-3); font-size: 13px; }
.cities [hidden] { display: none; }

/* ---- FAQ: answers stay visible ---- */
.faq { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 820px) { .faq { grid-template-columns: 1fr; } }
.faq > div { border-radius: var(--r-card); padding: 22px 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-low); }
.faq h3 { font-size: 17px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.35; }
.faq p { color: var(--ink-2); margin-top: 8px; font-size: 14.5px; line-height: 1.65; }

/* ---- code ---- */
.sec pre, .nv-sec pre { margin-top: 14px; background: #0B1220; color: #E6ECF7; border-radius: 16px; padding: 16px 18px; overflow-x: auto; font: 13px/1.65 var(--font-mono); direction: ltr; text-align: left; border: 1px solid rgba(150, 180, 255, 0.14); }
:not(pre) > code { font-family: var(--font-mono); font-size: 0.9em; background: var(--bg-2); padding: 2px 6px; border-radius: 6px; }

/* ---- product screenshot in a glass frame ---- */
.shot { margin: 0; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--glass-shadow); }
.shot img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.shot figcaption { padding: 10px 14px; font-size: 12.5px; color: var(--ink-2); border-top: 1px solid var(--line); }

/* ---- early access: a full-width glass band, text + a one-line form ---- */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ea-band { border-radius: var(--r-card); padding: clamp(24px, 3.4vw, 40px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(20px, 4vw, 56px); align-items: center; }
.nv-sec .ea-band { margin-top: 28px; }
@media (max-width: 880px) { .ea-band { grid-template-columns: 1fr; } }
.ea-copy p { color: var(--ink-2); font-size: 16px; line-height: 1.6; margin-top: 10px; max-width: 52ch; }
.ea-copy > p:first-child { margin-top: 0; }
.ea { width: 100%; }
.ea-row { display: flex; gap: 8px; padding: 6px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); transition: border-color .15s, box-shadow .15s; }
.ea-row:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.ea-row:has(input[aria-invalid="true"]) { border-color: #DC4B43; }
.ea-row input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 15.5px; color: var(--ink); padding: 0 14px; outline: none; }
.ea-row input::placeholder { color: var(--ink-3); }
.ea-row .btn { flex: none; }
@media (max-width: 520px) {
  .ea-row { flex-direction: column; border-radius: 22px; padding: 8px; }
  .ea-row input { flex: 0 0 auto; height: 46px; }
  .ea-row .btn { width: 100%; justify-content: center; }
}
/* RTL: the typed email stays left-to-right, the Arabic placeholder starts on the right */
html[dir="rtl"] .ea-row input:placeholder-shown { direction: rtl; text-align: right; }
.ea-note { margin-top: 10px; font-size: 12.5px; color: var(--ink-3); line-height: 1.5; }
.ea-note a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; }
.hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 10px; font-size: 14.5px; min-height: 1.4em; }
.form-status:empty { margin-top: 0; min-height: 0; }
.form-status.ok { color: var(--st-ok); }
.form-status.bad { color: var(--st-no); }
.noscript { margin-top: 10px; font-size: 13.5px; color: var(--st-lim); }

/* ---- app store buttons; "Coming soon" shows on hover, focus or tap ---- */
.store-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.aud-card .store-btns { margin-top: 18px; }
.store-btn { position: relative; display: inline-flex; align-items: center; gap: 10px; min-width: 160px; height: 52px; padding: 0 16px 0 13px; border-radius: 14px; background: #0B0D12; color: #fff; border: 1px solid rgba(255, 255, 255, 0.16); font: inherit; cursor: pointer; box-shadow: var(--shadow-low); }
.store-btn svg { width: 24px; height: 24px; flex: none; }
.store-btn .sb-t { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
.store-btn small { font-size: 10.5px; letter-spacing: 0.02em; opacity: 0.85; }
.store-btn b { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.store-soon { position: absolute; inset: -1px; display: grid; place-items: center; border-radius: inherit; background: color-mix(in srgb, var(--accent) 94%, #000); color: #fff; font-size: 15px; font-weight: 600; opacity: 0; transition: opacity .18s ease; pointer-events: none; }
.store-btn:hover .store-soon, .store-btn:focus-visible .store-soon, .store-btn.is-soon .store-soon { opacity: 1; }
.store-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
html[data-theme="dark"] .store-btn { background: #F4F6FA; color: #0B0D12; border-color: transparent; }
html[data-theme="dark"] .store-soon { background: #2F5BE0; }
@media (prefers-reduced-motion: reduce) { .store-soon { transition: none; } }
/* two buttons share a row when it fits (cards on phones are ~270-330px), else stack full width */
.store-btns .store-btn { flex: 1 1 140px; max-width: 220px; }
.aud-card .store-btn { padding: 0 12px 0 10px; gap: 8px; }
.aud-card .store-btn b { font-size: 15.5px; }

/* ---- every city of a country ---- */
.city-grid-filter { max-width: 440px; margin-top: 16px; }
.city-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 6px; margin-top: 16px; }
.city-grid a { display: block; height: 100%; padding: 9px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); font-size: 14px; line-height: 1.35; overflow-wrap: anywhere; transition: border-color .2s, color .2s; }
@media (max-width: 520px) { .city-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .city-grid a { font-size: 13.5px; padding: 8px 10px; } }
.city-grid a:hover { border-color: color-mix(in srgb, var(--accent) 55%, transparent); color: var(--accent); }
.city-grid [hidden] { display: none; }
.countries .c { color: var(--ink-3); font-size: 13px; white-space: nowrap; }

/* ---- two text columns, a call-to-action panel, numbered steps ---- */
.nv-two.nv-two-text { margin-top: 0; gap: clamp(24px, 5vw, 64px); align-items: start; }
.nv-panel.nv-try { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding: clamp(24px, 3.4vw, 40px); }
.nv-try > div:first-child { flex: 1 1 420px; min-width: 0; }
.nv-try > .ctas { flex: 0 1 auto; min-width: 0; }
.nv-try p { margin-top: 8px; max-width: 60ch; }
ol.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
@media (max-width: 980px) { ol.steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { ol.steps { grid-template-columns: 1fr; } }
ol.steps li { counter-increment: step; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-low); padding: 20px 22px; color: var(--ink-2); font-size: 14.5px; line-height: 1.6; }
ol.steps li::before { content: counter(step); display: block; margin-bottom: 8px; font-size: 13px; font-weight: 600; color: var(--accent); }

/* ---- small links row under sections ---- */
.nv-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; font-size: 14.5px; }
.nv-links a { color: var(--accent); }
.nv-links a:hover { text-decoration: underline; }

.nf { padding: 150px 0 80px; }

/* ---- audience cards in two columns: bullets under the text, buttons on one baseline ---- */
.nv-two .aud-card .feat-list { margin-top: 0; }
.nv-two .aud-card .nv-card-ctas { margin-top: auto; padding-top: 18px; }

/* ---- an odd tile at the end of a two-column grid takes the whole row ---- */
.grid-2 > :last-child:nth-child(odd) { grid-column: 1 / -1; }

/* ---- long button labels wrap on phones instead of overflowing the pill ---- */
@media (max-width: 520px) {
  .sec .ctas .btn, .nv-card-ctas .btn { white-space: normal; height: auto; min-height: 44px; text-align: center; line-height: 1.3; padding-block: 10px; }
}

/* ---- tables become stacked cards on phones (no hidden columns) ---- */
@media (max-width: 600px) {
  .table-wrap { overflow-x: visible; }
  .table-wrap table, .table-wrap tbody, .table-wrap tr, .table-wrap th, .table-wrap td { display: block; width: 100%; }
  .table-wrap thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .table-wrap tr { padding: 12px 16px; border-bottom: 1px solid var(--line); }
  .table-wrap tbody tr:last-child { border-bottom: 0; }
  .table-wrap th, .table-wrap td { padding: 3px 0; border: 0; }
  .table-wrap tbody th { font-size: 15px; }
  .table-wrap td code { white-space: normal; overflow-wrap: anywhere; }
}

/* ---- inline links inside small print look like links ---- */
.small a, .muted a, p.small a { color: var(--ink); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 70%, transparent); text-underline-offset: 2px; }

/* ---- Arabic step numbers use Arabic digits, like the copy ---- */
html[lang="ar"] ol.steps li::before { content: counter(step, arabic-indic); }

/* ---- long city lists: the first rows, then "Show all" (every link stays in the page) ---- */
.city-grid.is-collapsed li:nth-child(n+61) { display: none; }
.city-more { margin-top: 14px; }
.city-empty { margin-top: 12px; }
.city-empty[hidden] { display: none; }

/* ---- original top bar: fit small phones (same look, tighter spacing) ---- */
@media (max-width: 420px) {
  .topnav { padding: 0 10px; }
  .topnav-inner, html[dir="rtl"] .topnav-inner { gap: 8px; padding: 8px 8px 8px 12px; }
  html[dir="rtl"] .topnav-inner { padding: 8px 12px 8px 8px; }
  .nav-actions { gap: 6px; }
  .nav-actions .icon-btn { width: 34px; height: 34px; }
  .nav-actions .btn-sm { padding: 8px 12px; font-size: 13px; white-space: nowrap; }
}
@media (max-width: 360px) {
  .brand img { height: 26px; }
  .nav-actions .icon-btn { width: 32px; height: 32px; }
  .nav-actions .btn-sm { padding: 7px 10px; font-size: 12.5px; }
}

/* ---- round four: small fixes ---- */
.city-more[hidden] { display: none; }
.store-btn { -webkit-tap-highlight-color: transparent; }
.nv-clip { overflow: hidden; } /* keeps the panel's animated scan line inside the card */
@media (max-width: 520px) {
  .aud-card .store-btns .store-btn { max-width: none; } /* stacked in a narrow card: full width */
  .countries { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .countries a { font-size: 14px; padding: 10px 11px; }
}
