/* Nadlora coming-soon page.
   Layout: one column on a phone (pitch, sign-up, illustration, then sections);
   two columns from 900px (pitch + sign-up beside the illustration).
   Light only on purpose (decision D14), so every colour is set explicitly.
   Tokens follow design/proposals/merged-v1. */
:root {
  color-scheme: light;
  --ink: #0F1B33;
  --ink-2: #45536B;
  --ink-3: #5E6B82;
  --line: #DCE2EB;
  --line-2: #EEF1F6;
  --surface: #FFFFFF;
  --ground: #F3F6FB;
  --sky: #E9F5FF;
  --sky-line: #CFE3FF;
  --blue: #104DAE;
  --blue-ink: #0C3B86;
  --lav: #F0EAF8;
  --lav-ink: #5146A8;
  --amber: #FFF4DB;
  --amber-ink: #8A5200;
  --error: #B3261E;
  --map: #DCEAF7;
  --font: "Heebo", "Segoe UI", "Arial Hebrew", Arial, sans-serif;
  --display: "Frank Ruhl Libre", "Times New Roman", serif;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
:root:lang(ar) {
  --font: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
  --display: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
}

@font-face { font-family: "Heebo"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("fonts/heebo-var-hebrew.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Heebo"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("fonts/heebo-var-latin.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: "Frank Ruhl Libre"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/frank-700-hebrew.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Frank Ruhl Libre"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/frank-700-latin.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; }
/* Russian: Cyrillic glyphs join the same families, so no per-language rules are needed and the other
   pages never download them. Heebo is built on Roboto, so Roboto's Cyrillic matches it; PT Serif
   stands in for Frank Ruhl Libre, which has no Cyrillic. */
@font-face { font-family: "Heebo"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("fonts/roboto-var-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Frank Ruhl Libre"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/ptserif-700-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/plexar-400-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/plexar-700-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF; }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--ground); scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-ink); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
button, input { font: inherit; color: inherit; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } .js .reveal { opacity: 1; transform: none; } }

.wrap {
  max-width: 1120px; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 20; }
.skip:focus { top: 12px; color: #fff; }

/* header */
/* glass bar: see-through over the page, gets a hairline and more white once the page scrolls */
.top { position: relative; z-index: 10; background: rgba(243, 246, 251, .72); border-bottom: 1px solid transparent;
  -webkit-backdrop-filter: saturate(1.8) blur(16px); backdrop-filter: saturate(1.8) blur(16px);
  transition: background-color .25s, border-color .25s; }
.scrolled .top { background: rgba(255, 255, 255, .82); border-bottom-color: var(--line); }
.top-cta { display: none; }
@media (min-width: 700px) {
  .top { position: sticky; top: 0; }
  html .signup, html .legal-card, html section.block { scroll-margin-top: 76px; }
  .top-cta { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--blue-ink);
    background: linear-gradient(180deg, #1B5BC4, var(--blue)); color: #fff; font-weight: 700; font-size: 14px; text-decoration: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .24), 0 1px 2px rgba(15, 27, 51, .2);
    transition: opacity .2s, visibility .2s, transform .12s; }
  .top-cta:hover { background: linear-gradient(180deg, #2063CF, #1252B9); color: #fff; }
  .top-cta:active { transform: translateY(1px); }
  .js .top-cta { opacity: 0; visibility: hidden; }
  .js.past-signup .top-cta, .js .top-cta.show { opacity: 1; visibility: visible; }
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; flex-wrap: nowrap; padding-block: 8px; }
.brand, .brand-text { min-width: 0; }
.tagline { overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 419px) {
  .top .wrap { gap: 8px; }
  .top-end { gap: 8px; }
  .langs a { min-width: 30px; padding: 6px 5px; }
  .inline .btn { padding: 0 14px; }
  :lang(ru) .top .tagline { font-size: 10.5px; letter-spacing: 0; }
  .top .tagline { white-space: normal; line-height: 1.2; }
}
.brand { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -.01em; color: var(--ink); text-decoration: none; }
.brand svg { width: 28px; height: 28px; flex: none; }
.brand .mark { width: 36px; height: 36px; margin-inline: -3px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-size: 22px; }
.tagline { font-family: var(--font); font-size: 11.5px; font-weight: 600; color: var(--blue-ink); letter-spacing: .02em; margin-top: 3px; white-space: nowrap; }
.top-end { display: flex; align-items: center; gap: 14px; flex-wrap: nowrap; flex: none; }
/* section links: wide screens only; the phone keeps the short bar so the sign-up stays above the fold */
.sections { display: none; }
/* Russian section names are longer: the links wait for a wider screen */
@media (min-width: 1180px) and (max-width: 1599px) { :lang(ru) .sections { display: none !important; } }
@media (min-width: 1180px) {
  .sections { display: flex; gap: 2px; margin-inline: auto; }
  .sections a { position: relative; display: inline-flex; align-items: center; height: 34px; padding: 0 12px; border-radius: 999px;
    font-size: 14.5px; font-weight: 500; color: var(--ink-2); text-decoration: none; white-space: nowrap; transition: background-color .2s, color .2s; }
  .sections a:hover { background: rgba(15, 27, 51, .055); color: var(--ink); }
  .sections a.active { color: var(--ink); }
  .sections a::after { content: ""; position: absolute; inset-inline: 12px; bottom: -4px; height: 2px; border-radius: 2px; background: var(--blue);
    transform: scaleX(0); transition: transform .25s var(--ease); }
  .sections a.active::after { transform: scaleX(1); }
  .top .wrap { flex-wrap: nowrap; }
}
/* beta chip above the headline, with a slow pulse */
.beta { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; height: 30px; padding-inline: 8px 12px;
  border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .8);
  font-size: 13px; font-weight: 600; color: var(--ink-2); white-space: nowrap; box-shadow: 0 1px 3px rgba(15, 27, 51, .05); }
.beta .dot { position: relative; width: 14px; height: 14px; display: grid; place-items: center; flex: none; }
.beta .dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.beta .dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--blue); opacity: 0; animation: nd-ping 2.4s var(--ease) 2; }
@keyframes nd-ping { 0% { transform: scale(.5); opacity: .6; } 80%, 100% { transform: scale(1.5); opacity: 0; } }
.langs { display: flex; gap: 2px; font-size: 14px; }
.langs a { padding: 6px 8px; min-width: 36px; justify-content: center; border-radius: 8px; color: var(--ink-2); text-decoration: none; min-height: 36px; display: inline-flex; align-items: center; font-size: 13px; font-weight: 600; letter-spacing: .04em; font-family: var(--font); transition: background-color .2s, color .2s; }
:lang(ar) .langs a { font-family: "Heebo", "Segoe UI", Arial, sans-serif; }
.langs a[aria-current="page"] { color: var(--blue-ink); font-weight: 700; background: var(--sky); }
.langs a:hover { color: var(--blue-ink); }

/* hero */
.hero { padding-block: 28px 8px; background:
    radial-gradient(70% 90% at 12% 0%, #E2EFFF 0%, rgba(226, 239, 255, 0) 62%),
    radial-gradient(50% 70% at 92% 8%, #F3EEFB 0%, rgba(243, 238, 251, 0) 60%),
    var(--ground); }
html[dir="ltr"] .hero { background:
    radial-gradient(70% 90% at 88% 0%, #E2EFFF 0%, rgba(226, 239, 255, 0) 62%),
    radial-gradient(50% 70% at 8% 8%, #F3EEFB 0%, rgba(243, 238, 251, 0) 60%),
    var(--ground); }
.hero-grid { display: grid; gap: 22px; }
.pitch { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .08em; color: var(--blue-ink); margin: 0; }
h1 { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(34px, 8.5vw, 52px); line-height: 1.08; letter-spacing: -.015em; text-wrap: balance; }
:lang(ar) h1 { line-height: 1.3; letter-spacing: 0; }
/* the home headline: two short lines at the same size and weight */
.h1-a, .h1-b { display: block; font-size: clamp(40px, 10.5vw, 66px); line-height: 1.04; letter-spacing: -.022em; color: var(--ink); }
.h1-b { color: var(--blue); width: fit-content; max-width: 100%; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .h1-b { background: linear-gradient(100deg, #104DAE 0 41%, #6FA6F5 48%, #CFE3FF 50%, #6FA6F5 52%, #104DAE 59% 100%); background-size: 320% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
  /* "the whole picture": one soft sweep of light on load (Nadlora, real estate in a different light) */
  @media (prefers-reduced-motion: no-preference) {
    .h1-b { animation: nd-light 1.9s cubic-bezier(.45, .05, .25, 1) .5s 1 both; }
    [dir="ltr"] .h1-b { animation-direction: reverse; }
  }
}
:lang(ar) .h1-a, :lang(ar) .h1-b { line-height: 1.25; letter-spacing: 0; }
@keyframes nd-light { from { background-position: 0 0; } to { background-position: 100% 0; } }
.lead { margin: 0; font-size: clamp(16.5px, 1.4vw, 18.5px); line-height: 1.7; color: var(--ink-2); max-width: 36em; }
/* "what you won't find anywhere else": three plain rows, each marked with an indicator colour (no icon cards) */
.moat { margin-top: 2px; }
.moat-label { margin: 6px 0 6px; font-size: 12.5px; font-weight: 700; letter-spacing: .02em; color: var(--ink-3); }
.moat-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.moat-list li { padding: 10px 14px; border-inline-start: 3px solid var(--ind-value); background: rgba(255, 255, 255, .72); border-radius: 4px 12px 12px 4px; }
[dir="rtl"] .moat-list li { border-radius: 12px 4px 4px 12px; }
.moat-list li:nth-child(2) { border-inline-start-color: var(--ind-yield); }
.moat-list li:nth-child(3) { border-inline-start-color: var(--ind-documents); }
.moat-note { margin: 8px 0 0; padding-inline: 14px; font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.moat-list strong { display: block; font-size: 15px; line-height: 1.35; color: var(--ink); }
.moat-list span { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }

/* sign-up card */
.signup { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 1px 2px rgba(15, 27, 51, .05), 0 22px 44px -26px rgba(15, 27, 51, .35); scroll-margin-top: 16px; }
.signup h2 { margin: 0; font-size: 20px; line-height: 1.3; }
.signup .sub { margin: 0 0 4px; font-size: 14px; color: var(--ink-2); }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; }
.input { min-height: 50px; border: 1px solid #7D8AA0; border-radius: 12px; padding: 0 14px; background: var(--surface); font-weight: 400; width: 100%; font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(16, 77, 174, .14); }
.input[dir="ltr"] { text-align: start; }
html[dir="rtl"] .input[dir="ltr"] { text-align: right; }
.input[aria-invalid="true"] { border-color: var(--error); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0 0 6px; font-size: 14px; font-weight: 700; }
.choices { display: flex; flex-wrap: wrap; gap: 6px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 38px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; color: var(--ink-2); cursor: pointer; }
.choice input:checked + span { background: var(--sky); border-color: var(--blue); color: var(--blue-ink); font-weight: 700; }
.choice input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--blue); cursor: pointer; }
.btn { min-height: 50px; border-radius: 12px; border: 1px solid var(--blue-ink); background: linear-gradient(180deg, #1B5BC4, var(--blue)); color: #fff; font-weight: 700; font-size: 16px; padding: 0 20px; cursor: pointer; width: 100%;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .24), 0 1px 2px rgba(15, 27, 51, .2), 0 8px 18px -10px rgba(16, 77, 174, .7);
  transition: transform .12s, box-shadow .2s, background .2s; }
.btn:hover { background: linear-gradient(180deg, #2063CF, #1252B9); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .24), 0 1px 2px rgba(15, 27, 51, .2), 0 12px 24px -12px rgba(16, 77, 174, .75); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .7; cursor: progress; }
.note { margin: 0; font-size: 12.5px; color: var(--ink-3); }
.err { margin: 0; font-size: 14px; color: var(--error); font-weight: 700; }
.ts:empty { display: none; }
.ts { min-height: 0; }
.hp { position: absolute; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }
.done { display: flex; flex-direction: column; gap: 8px; }
.done h2 { display: flex; align-items: center; gap: 8px; }
.done h2 svg { width: 24px; height: 24px; flex: none; }
.done p { margin: 0; color: var(--ink-2); overflow-wrap: anywhere; }
.demo { font-size: 12px; font-weight: 700; color: var(--lav-ink); background: var(--lav); border-radius: 8px; padding: 6px 10px; align-self: flex-start; }

.inline { display: flex; gap: 8px; }
.inline .input { flex: 1 1 auto; min-width: 0; }
.inline .btn { width: auto; flex: none; white-space: nowrap; }
@media (max-width: 359px) { .inline { flex-direction: column; } .inline .btn { width: 100%; } }

/* illustration */
.art { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.art-frame { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--map); }
.art-frame svg.map { display: block; width: 100%; height: auto; }
.art-frame svg.map-top { position: absolute; inset: 0; height: 100%; }
/* soft light that settles on the parcel: "real estate in a different light" */
.spot { position: absolute; width: 200%; height: 200%; left: -50%; top: -50%; pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .6) 0, rgba(255, 255, 255, 0) 14%, rgba(15, 27, 51, 0) 18%, rgba(15, 27, 51, .2) 34%);
  transform: translate(3.5%, -4%); }
.art-search { position: absolute; top: 12px; inset-inline: 14px; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; background: var(--surface); border-radius: 12px; box-shadow: 0 6px 18px rgba(15, 27, 51, .14); z-index: 1; }
.art-search svg { width: 18px; height: 18px; flex: none; }
.art-search .typed { display: block; height: 9px; width: 46%; border-radius: 5px; background: #C9D6E6; }
.art-search .caret { display: block; width: 2px; height: 18px; background: var(--blue); opacity: 0; }
.art-card { z-index: 1; }
.art-card { position: absolute; inset-inline: 14px; bottom: 14px; background: var(--surface); border-radius: 14px; padding: 12px 14px; box-shadow: 0 8px 24px rgba(15, 27, 51, .16); display: flex; flex-direction: column; gap: 8px; }
.art-card .row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.art-card .lbl { font-size: 12px; font-weight: 800; color: var(--ink-3); letter-spacing: .04em; }
.ph { display: block; height: 10px; border-radius: 6px; background: var(--line-2); }
.ph.w60 { width: 60%; } .ph.w35 { width: 35%; } .ph.w80 { width: 80%; }
.axis { position: relative; height: 34px; direction: ltr; }
.axis .track { position: absolute; left: 0; right: 0; top: 18px; height: 8px; border-radius: 999px; background: #E3E9F3; }
.axis .band { position: absolute; left: 30%; width: 34%; top: 18px; height: 8px; border-radius: 999px; background: linear-gradient(90deg, #5B8FE0, var(--blue) 30%, var(--blue) 70%, #5B8FE0); }
.axis .pin { position: absolute; left: 74%; top: 4px; width: 2px; height: 30px; background: var(--amber-ink); }
.axis .pin::before { content: ""; position: absolute; top: -4px; left: -5px; width: 12px; height: 12px; border-radius: 50%; background: var(--amber); border: 2px solid var(--amber-ink); }
.legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--ink-2); }
.legend li { display: inline-flex; align-items: center; gap: 6px; }
.sw { width: 14px; height: 10px; border-radius: 3px; flex: none; }
.sw.parcel { background: rgba(16, 77, 174, .16); border: 2px solid var(--blue); }
.sw.band { background: var(--blue); }
.sw.sold { width: 10px; height: 10px; border-radius: 50%; background: rgba(16, 77, 174, .55); }
.sw.pin { width: 10px; height: 10px; border-radius: 50%; background: var(--amber); border: 2px solid var(--amber-ink); }
.caption { font-size: 12px; color: var(--ink-3); }

/* sections */
section.block { padding-block: 36px; }
section.block + section.block { border-top: 1px solid var(--line); }
.block h2.h { margin: 0 0 22px; font-family: var(--display); font-weight: 700; font-size: clamp(30px, 6.4vw, 44px); line-height: 1.08; letter-spacing: -.014em; text-wrap: balance; }
:lang(ar) .block h2.h { line-height: 1.3; letter-spacing: 0; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: step; }
.step { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.step svg { width: 56px; height: 56px; overflow: visible; }
.step h3 { margin: 0 0 2px; font-size: 17px; }
.step p { margin: 0; font-size: 15px; color: var(--ink-2); }
.step .num { font-family: var(--mono); font-size: 12.5px; font-weight: 500; color: var(--ink-3); display: block; margin-bottom: 2px; }
.step { transition: transform .2s var(--ease), box-shadow .2s, border-color .2s, background-color .2s; }
@media (hover: hover) { .step:hover, .pr:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15, 27, 51, .07); border-color: var(--sky-line); } }

.principles { display: grid; gap: 10px; }
.pr { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; }
.pr svg { width: 28px; height: 28px; display: block; margin-bottom: 8px; }
section.block.alt { background: var(--surface); }
section.block.alt .pr { background: var(--ground); border-color: var(--line-2); }
.pr h3 { margin: 0 0 4px; font-size: 16px; }
.pr p { margin: 0; font-size: 15px; color: var(--ink-2); }

.faq { display: flex; flex-direction: column; gap: 8px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.faq summary { list-style: none; cursor: pointer; padding: 14px 16px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 52px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); font-size: 20px; font-weight: 400; line-height: 1; color: var(--blue); flex: none; transition: transform .3s var(--ease), background-color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--sky); }
.faq details p { margin: 0; padding: 0 16px 16px; color: var(--ink-2); font-size: 15px; max-width: 70ch; }

.legal { display: grid; gap: 14px; }
.legal-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; scroll-margin-top: 16px; }
.legal-card h2 { margin: 0; font-size: 20px; }
.legal-card summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; }
.legal-card summary::-webkit-details-marker { display: none; }
.legal-card summary::after { content: "+"; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); font-size: 20px; line-height: 1; color: var(--blue); flex: none; transition: transform .3s var(--ease), background-color .2s; }
.legal-card[open] summary::after { transform: rotate(45deg); background: var(--sky); }
.legal-card[open] summary { margin-bottom: 10px; }
.legal-card dl { margin: 0; display: grid; gap: 14px 28px; }
.legal-card dt { font-weight: 700; font-size: 14px; }
.legal-card dd { margin: 0; font-size: 14.5px; color: var(--ink-2); }
.legal-card p { margin: 0; font-size: 14.5px; color: var(--ink-2); }
.legal-card p + p { margin-top: 10px; }
.legal-card .ver { margin-top: 12px; font-size: 12px; color: var(--ink-3); }

.cta-again { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; background: var(--sky); border: 1px solid var(--sky-line); border-radius: 18px; padding: 18px; }
.cta-again p { margin: 0; font-weight: 700; font-size: 17px; }
.cta-again a { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--blue-ink); background: linear-gradient(180deg, #1B5BC4, var(--blue)); color: #fff; font-weight: 700; text-decoration: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .24), 0 1px 2px rgba(15, 27, 51, .2); transition: transform .12s; }
.cta-again a:hover { background: linear-gradient(180deg, #2063CF, #1252B9); color: #fff; }
.cta-again a:active { transform: translateY(1px); }

footer.foot { background: var(--surface); border-top: 1px solid var(--line); margin-top: 24px; }
footer.foot .wrap { padding-block: 20px 28px; display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--ink-3); }
footer.foot nav { display: flex; flex-wrap: wrap; gap: 6px 16px; }
footer.foot strong { color: var(--ink-2); }
/* "Follow us" row (src/follow.mjs): off until the accounts exist, so nothing below shows yet.
   Icons are plain links in the text colour, 44px targets. */
.follow { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.follow-t { margin: 0; color: var(--ink-2); font-weight: 600; }
.follow-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.follow-list a { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: var(--ink-2); }
.follow-list a:hover { color: var(--blue); background: var(--sky); }
.follow-list svg { width: 20px; height: 20px; fill: currentColor; }
.confirm .follow { border-top: 1px solid var(--line); padding-top: 12px; }
@media (forced-colors: active) { .follow-list svg { fill: LinkText; } }

/* about page */
.about { padding-block: 32px 8px; }
.about .wrap { display: flex; flex-direction: column; gap: 20px; }
.about-card { max-width: 760px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.about-card h1 { font-size: clamp(30px, 7vw, 44px); margin-bottom: 10px; }
.about-card .lead { margin-bottom: 8px; }
.about-card h2 { margin: 22px 0 4px; font-size: 19px; }
.about-card p { margin: 0; color: var(--ink-2); max-width: 66ch; }
.ab-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; max-width: 66ch; }
.ab-list li { position: relative; padding-inline-start: 18px; color: var(--ink-2); line-height: 1.55; }
.ab-list li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .62em; width: 7px; height: 7px; border-radius: 2px; background: var(--blue); opacity: .8; }
.ab-list strong { color: var(--ink); font-weight: 700; }
.ab-list strong::after { content: " ·"; color: var(--ink-3); font-weight: 400; }
.about .cta-again { max-width: 760px; }
@media (min-width: 700px) { .about-card { padding: 32px 36px; } }

/* confirmation page */
.confirm { padding-block: 56px; }
.confirm .card { max-width: 560px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.confirm h1 { font-size: clamp(28px, 7vw, 40px); }
.confirm p { margin: 0; color: var(--ink-2); }
.confirm-form { margin-top: 4px; }

@media (min-width: 700px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .step { grid-template-columns: 1fr; }
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legal-card dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 899px) { .hero .art { display: none; } .hero { padding-bottom: 20px; } }
@media (min-width: 900px) {
  .hero { padding-block: 48px 16px; }
  /* text on one side, the sign-up card beside it (the illustration lives in "How it will work") */
  .pitch { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); column-gap: 48px; row-gap: 14px; align-content: start; }
  .pitch > * { grid-column: 1; }
  .pitch > .beta { justify-self: start; }
  .pitch > .signup { grid-column: 2; grid-row: 1 / span 5; align-self: center; }
  .legal-card { padding: 24px 28px; }
}
@media (min-width: 1000px) { .legal-card dl { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* motion: only with JS, played once when the illustration is on screen; reduced motion shows the end state */
@keyframes nd-type { from { width: 0; } to { width: 46%; } }
@keyframes nd-caret { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes nd-spot { from { transform: translate(-22%, 14%); } to { transform: translate(3.5%, -4%); } }
@keyframes nd-draw { from { stroke-dashoffset: 100; fill-opacity: 0; } 70% { fill-opacity: 0; } to { stroke-dashoffset: 0; fill-opacity: 1; } }
@keyframes nd-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes nd-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes nd-drop { from { transform: translateY(-12px); opacity: 0; } to { transform: none; opacity: 1; } }
.js .art .typed { animation: nd-type 1s steps(14, end) .3s both; }
.js .art .caret { animation: nd-caret 1s step-end 5; }
.js .art .spot { animation: nd-spot 1.8s cubic-bezier(.4, 0, .2, 1) 1s both; }
.js .art-frame .parcel { stroke-dasharray: 100; animation: nd-draw 1.1s ease-out 2.2s both; }
.js .art .bldg, .js .art .corners { animation: nd-fade .6s ease-out 3s both; }
@keyframes nd-pop { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: none; } }
.js .art .sold circle { transform-box: fill-box; transform-origin: center; animation: nd-pop .35s ease-out both; }
.js .art .sold circle:nth-child(1) { animation-delay: 2.5s; } .js .art .sold circle:nth-child(2) { animation-delay: 2.6s; }
.js .art .sold circle:nth-child(3) { animation-delay: 2.7s; } .js .art .sold circle:nth-child(4) { animation-delay: 2.8s; }
.js .art .sold circle:nth-child(5) { animation-delay: 2.9s; } .js .art .sold circle:nth-child(6) { animation-delay: 3s; }
.js .art .sold circle:nth-child(7) { animation-delay: 3.1s; } .js .art .sold circle:nth-child(8) { animation-delay: 3.2s; }
.js .art .sold circle:nth-child(9) { animation-delay: 3.3s; }
.js .art .axis .band { animation: nd-grow .8s cubic-bezier(.3, .7, .2, 1) 3.5s both; }
.js .art .axis .pin { animation: nd-drop .6s cubic-bezier(.3, 1.4, .5, 1) 4.2s both; }
.js .art-frame { cursor: pointer; }
.js .art:not(.play) * { animation-play-state: paused !important; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .js .art .spot { animation: nd-fade 1s ease-out .4s both !important; }
  .js .art-frame .parcel, .js .art .bldg, .js .art .corners, .js .art .sold circle { animation: nd-fade 1s ease-out 1.2s both !important; }
  .js .art .axis .band, .js .art .axis .pin { animation: nd-fade 1s ease-out 2s both !important; }
}

/* how it will work: the steps drive a small product window (parcel, then what sold and the range, then what to check).
   Without JS the window shows its last step with everything in place. */
.how-grid { display: grid; gap: 18px; }
.how-grid .steps { grid-template-columns: minmax(0, 1fr); gap: 8px; }
.how-grid .step { grid-template-columns: 52px minmax(0, 1fr); }
.how-grid .step svg { width: 52px; height: 52px; }
.demo-win { margin: 0; min-width: 0; order: -1; display: flex; flex-direction: column; gap: 8px; }
.win { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 27, 51, .05), 0 40px 70px -44px rgba(15, 27, 51, .5); }
.win-bar { display: flex; align-items: center; gap: 10px; height: 38px; padding-inline: 14px; border-bottom: 1px solid var(--line-2); background: linear-gradient(#FCFDFE, #F5F7FB); direction: ltr; }
.win-bar .dots { display: flex; gap: 6px; }
.win-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.win-bar .url { margin-inline: auto; transform: translateX(-24px); font: 12px/1 var(--mono); color: var(--ink-3); background: var(--surface); border: 1px solid var(--line-2); padding: 5px 14px; border-radius: 8px; }
.win-body { position: relative; background: var(--map); overflow: hidden; aspect-ratio: 400 / 360; }
.win-body svg.map { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
@media (max-width: 559px) { .win-body { aspect-ratio: 10 / 11.5; } }
.d-spot { position: absolute; width: 200%; height: 200%; left: -50%; top: -50%; pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .6) 0, rgba(255, 255, 255, 0) 14%, rgba(15, 27, 51, 0) 18%, rgba(15, 27, 51, .2) 34%);
  transform: translate(3.5%, -4%); opacity: 0; transition: opacity .6s; }
.demo-win[data-step="1"] .d-spot { opacity: 1; }
.w-search { position: absolute; top: 12px; inset-inline: 14px; z-index: 1; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; background: var(--surface); border-radius: 12px; box-shadow: 0 6px 18px rgba(15, 27, 51, .14); }
.w-search svg { width: 18px; height: 18px; flex: none; }
.w-search .typed { display: block; height: 9px; width: 46%; border-radius: 5px; background: #C9D6E6; }
.w-search .caret { display: block; width: 2px; height: 18px; background: var(--blue); opacity: 0; }
.w-card { position: absolute; z-index: 1; background: var(--surface); border-radius: 14px; padding: 12px 14px; box-shadow: 0 10px 28px rgba(15, 27, 51, .16), 0 0 0 1px rgba(15, 27, 51, .04); }
.w-check { inset-inline-end: 14px; top: 64px; width: min(56%, 230px); display: flex; flex-direction: column; gap: 8px; }
.w-check strong { font-size: 13.5px; line-height: 1.2; color: var(--lav-ink); }
.w-check ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.w-check li { display: flex; align-items: center; gap: 8px; font-size: 13px; line-height: 1.25; color: var(--ink); }
.w-check li svg { width: 16px; height: 16px; flex: none; }
@media (min-width: 900px) {
  .how-grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 48px; align-items: center; }
  .demo-win { order: 0; }
}
/* with JS: steps become buttons and the window plays each step */
.js .how-grid .step { position: relative; overflow: hidden; cursor: pointer; background: transparent; border-color: transparent; }
.js .how-grid .step:hover { transform: none; box-shadow: none; background: rgba(255, 255, 255, .6); }
.js .how-grid .step[data-on="true"] { background: var(--surface); border-color: var(--line); box-shadow: 0 1px 2px rgba(15, 27, 51, .04), 0 18px 40px -26px rgba(15, 27, 51, .35); }
.js .how-grid .step[data-on="true"] .num { color: var(--blue); }
.js .how-grid .step[data-on="false"] p { color: var(--ink-3); }
.js .how-grid .step::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; opacity: 0; }
html[dir="rtl"].js .how-grid .step::after { transform-origin: right; }
.js .how.auto .step[data-on="true"]::after { opacity: 1; animation: nd-fill 5.5s linear forwards; }
.js .how.auto.paused .step[data-on="true"]::after { animation-play-state: paused; }
@keyframes nd-fill { to { transform: scaleX(1); } }
.js .demo-win .typed { width: 0; transition: width .9s steps(12, end) .2s; }
.js .demo-win.drawn .typed { width: 46%; }
.js .demo-win .caret { animation: nd-caret 1s step-end 5; }
.js .demo-win .parcel { stroke-dasharray: 100; stroke-dashoffset: 100; fill-opacity: 0; transition: stroke-dashoffset 1.1s ease-out .6s, fill-opacity .5s 1.4s; }
.js .demo-win.drawn .parcel { stroke-dashoffset: 0; fill-opacity: 1; }
.js .demo-win .corners, .js .demo-win .bldg { opacity: 0; transition: opacity .4s 1.5s; }
.js .demo-win.drawn .corners, .js .demo-win.drawn .bldg { opacity: 1; }
.js .demo-win .sold circle { opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.2); transition: opacity .25s, transform .45s cubic-bezier(.3, 1.6, .5, 1); }
.js .demo-win:is([data-step="2"], [data-step="3"]) .sold circle { opacity: 1; transform: none; }
.js .demo-win .sold circle:nth-child(2) { transition-delay: 50ms; } .js .demo-win .sold circle:nth-child(3) { transition-delay: 100ms; }
.js .demo-win .sold circle:nth-child(4) { transition-delay: 150ms; } .js .demo-win .sold circle:nth-child(5) { transition-delay: 200ms; }
.js .demo-win .sold circle:nth-child(6) { transition-delay: 250ms; } .js .demo-win .sold circle:nth-child(7) { transition-delay: 300ms; }
.js .demo-win .sold circle:nth-child(8) { transition-delay: 350ms; } .js .demo-win .sold circle:nth-child(9) { transition-delay: 400ms; }
.js .demo-win .w-card { opacity: 0; transform: translateY(12px); transition: opacity .35s, transform .45s var(--ease); }
.js .demo-win .w-check li path { stroke-dasharray: 12; stroke-dashoffset: 12; transition: stroke-dashoffset .35s; }
.js .demo-win[data-step="3"] .w-check li path { stroke-dashoffset: 0; }
.js .demo-win[data-step="3"] .w-check li:nth-child(1) path { transition-delay: .45s; }
.js .demo-win[data-step="3"] .w-check li:nth-child(2) path { transition-delay: .7s; }
.js .demo-win[data-step="3"] .w-check li:nth-child(3) path { transition-delay: .95s; }
@media (prefers-reduced-motion: reduce) { .js .demo-win .caret { opacity: 0; } }

/* the about and confirmation pages carry the beta chip in the bar; on a phone the bar keeps only brand and languages */
@media (max-width: 699px) { .top .beta { display: none; } }

/* ===== 2026-11-27 pass: the whole picture, not a price check ===== */
:root { --green: #2E7D55; --green-bg: #E7F3EC; --track: #E3E9F3; }
/* One fixed colour per indicator, shared with the platform (tokens/indicators.json): the strong tone for
   marks and text, the tint for backgrounds. Offences are slate on purpose: no red, no alarm. */
:root {
  --ind-area: #0F6E6E; --ind-area-tint: #E0F2F1;
  --ind-special: #8A2E86; --ind-special-tint: #F7E9F6;
  --ind-planning: #5146A8; --ind-planning-tint: #F0EAF8;
  --ind-documents: #8A5200; --ind-documents-tint: #FFF4DB;
  --ind-value: #104DAE; --ind-value-tint: #E9F5FF;
  --ind-yield: #276F4B; --ind-yield-tint: #E7F3EC;
  --ind-offences: #4D5B6E; --ind-offences-tint: #EEF1F5;
  --ind-market: #B0431C; --ind-market-tint: #FCEBE4;
}
/* one calm line under a section heading */
.block h2.h + .h-sub { margin: -10px 0 24px; font-size: clamp(16px, 1.35vw, 18px); line-height: 1.6; color: var(--ink-2); max-width: 46em; }

/* trust row at the foot of the sign-up card */
.trust { list-style: none; margin: 2px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line-2); display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.trust li { display: inline-flex; align-items: center; gap: 6px; }
.trust svg { width: 16px; height: 16px; flex: none; }

/* who it's for: four audiences */
.who { display: grid; gap: 12px; }
.pc { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 2px; transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; }
.pc > svg { width: 40px; height: 40px; margin-bottom: 10px; }
.pc h3 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 23px; line-height: 1.2; letter-spacing: -.01em; }
:lang(ar) .pc h3 { letter-spacing: 0; line-height: 1.35; }
.pc-q { margin: 2px 0 12px; font-size: 14.5px; font-weight: 600; color: var(--blue-ink); }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.ticks li { position: relative; padding-inline-start: 20px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .55em; width: 9px; height: 9px; background: var(--blue); clip-path: polygon(12% 25%, 80% 12%, 88% 78%, 20% 90%); }
@media (hover: hover) { .pc:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(15, 27, 51, .07); border-color: var(--sky-line); } }
@media (min-width: 700px) { .who { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } .pc { padding: 24px 26px; } }
@media (min-width: 1040px) { .who { grid-template-columns: repeat(3, minmax(0, 1fr)); } .pc { padding: 22px 22px; } }

/* what you'll discover: one card per layer of the picture, each with an "i" */
.bento { display: grid; gap: 12px; }
.bc { position: relative; min-width: 0; background: var(--ground); border: 1px solid var(--line-2); border-radius: 22px; padding: 14px 14px 18px;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "vis vis" "txt btn"; column-gap: 10px; row-gap: 16px; align-content: start; }
.bc-vis { grid-area: vis; position: relative; min-width: 0; min-height: 132px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px;
  display: flex; flex-direction: column; justify-content: center; gap: 10px; overflow: hidden; }
.bc-txt { grid-area: txt; padding-inline-start: 6px; min-width: 0; }
.bc-txt h3 { margin: 0 0 4px; font-size: 17.5px; line-height: 1.3; }
.bc-txt p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.i-btn { grid-area: btn; align-self: start; margin-inline-end: 4px; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--blue);
  font: italic 700 15px/1 Georgia, "Times New Roman", serif; cursor: pointer; display: grid; place-items: center; box-shadow: 0 1px 2px rgba(15, 27, 51, .06);
  transition: background-color .2s, color .2s, border-color .2s, transform .15s; }
.i-btn:hover { border-color: var(--blue); }
.i-btn:active { transform: scale(.94); }
.tip { grid-column: 1 / -1; margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--ink-2); padding: 10px 12px; border-radius: 12px; background: var(--surface); border: 1px dashed var(--sky-line); }
.js .tip { position: absolute; z-index: 2; inset-inline: 14px; top: 14px; background: var(--ink); color: #fff; border: 0; padding: 14px 16px; font-size: 14px;
  box-shadow: 0 18px 40px -16px rgba(15, 27, 51, .55); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .25s var(--ease), visibility .18s; }
.js .tip::before { content: "i"; display: inline-grid; place-items: center; width: 18px; height: 18px; margin-inline-end: 8px; border-radius: 50%; background: rgba(255, 255, 255, .16); font: italic 700 11px/1 Georgia, serif; vertical-align: 1px; }
.js .bc.open .tip { opacity: 1; visibility: visible; transform: none; }
.js .bc.open .i-btn { background: var(--ink); color: #fff; border-color: var(--ink); }

.bc-score { --c: var(--ind-area); --c-tint: var(--ind-area-tint); }
.bc-special { --c: var(--ind-special); --c-tint: var(--ind-special-tint); }
.bc-plan { --c: var(--ind-planning); --c-tint: var(--ind-planning-tint); }
.bc-docs { --c: var(--ind-documents); --c-tint: var(--ind-documents-tint); }
.bc-value { --c: var(--ind-value); --c-tint: var(--ind-value-tint); }
.bc-yield { --c: var(--ind-yield); --c-tint: var(--ind-yield-tint); }
.bc-offences { --c: var(--ind-offences); --c-tint: var(--ind-offences-tint); }
.bc-market { --c: var(--ind-market); --c-tint: var(--ind-market-tint); }
/* each card carries its colour: a top edge on the picture, a mark before the title, and the picture's main marks */
.bc[class*="bc-"]:not(.bc-qs) .bc-vis { box-shadow: inset 0 3px 0 var(--c, var(--blue)); }
.bc:not(.bc-qs) .bc-txt h3::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-inline-end: 8px; border-radius: 3px; background: var(--c, var(--blue)); vertical-align: 1px; }
.bc .i-btn { color: var(--c, var(--blue)); }
.bc .i-btn:hover { border-color: var(--c, var(--blue)); }
.bc-score .ring .arc { stroke: var(--c); }
.bc-score .ring g { stroke: var(--c); }
.bc-score .ring g path:first-child { fill: var(--c-tint); }
.bc-special .pm .plus i { background: var(--c-tint); color: var(--c); border-color: transparent; }
.bc-value .cloud g { fill: var(--c); }
.bc-yield .meter i, [dir="rtl"] .bc-yield .meter i { background: var(--c); }
.bc-market .spark .line { stroke: var(--c); }
.bc-market .spark .area { fill: var(--c-tint); }
.bc .bars i::before, [dir="rtl"] .bc .bars i::before { background: var(--c, var(--blue)); }
.bc-docs .doc .doc-h { fill: var(--c); }
.bc-docs .chips li { color: var(--c); background: var(--c-tint); }
.of-per { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .02em; color: var(--ink-3); background: var(--ground); border-radius: 6px; padding: 2px 8px; }
.f52 { --w: 52%; } .f48 { --w: 48%; } .f40 { --w: 40%; }
.bc-score .bc-vis { flex-direction: row; align-items: center; gap: 20px; }
.ring { width: 92px; height: 92px; flex: none; }
.ring .arc { stroke-dasharray: 78 100; stroke-dashoffset: 0; transition: stroke-dashoffset 1.3s var(--ease) .15s; }
.bars { list-style: none; margin: 0; padding: 0; flex: 1; min-width: 0; display: grid; gap: 7px; }
.bars li { display: grid; grid-template-columns: minmax(64px, auto) minmax(0, 1fr); align-items: center; gap: 12px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.bars i { position: relative; display: block; height: 8px; border-radius: 99px; background: var(--track); overflow: hidden; }
.bars i::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: var(--w, 50%); border-radius: inherit; background: linear-gradient(90deg, #4F86DD, var(--blue)); transform-origin: left; transition: transform 1s var(--ease); }
[dir="rtl"] .bars i::before { background: linear-gradient(270deg, #4F86DD, var(--blue)); transform-origin: right; }
.bars li:nth-child(2) i::before { transition-delay: .08s; } .bars li:nth-child(3) i::before { transition-delay: .16s; }
.bars li:nth-child(4) i::before { transition-delay: .24s; } .bars li:nth-child(5) i::before { transition-delay: .32s; }
.f88 { --w: 88%; } .f80 { --w: 80%; } .f72 { --w: 72%; } .f56 { --w: 56%; } .f44 { --w: 44%; }

.eg { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .04em; color: var(--ink-3); background: var(--ground); border-radius: 6px; padding: 2px 8px; }
.pm { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.pm li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--ink); }
.pm i { font-style: normal; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; font-weight: 800; font-size: 15px; line-height: 1; flex: none; }
.pm .plus i { background: var(--sky); color: var(--blue); border: 1px solid var(--sky-line); }
.pm .minus i { background: var(--amber); color: var(--amber-ink); border: 1px solid #F1D9A6; }

.plan-map { display: block; width: 100%; height: auto; max-height: 96px; }
.stages { list-style: none; margin: 0; padding: 0; display: flex; font-size: 12px; font-weight: 600; color: var(--ink-3); }
.stages li { position: relative; flex: 1; padding-top: 16px; text-align: center; }
.stages li::before { content: ""; position: absolute; z-index: 1; top: 0; left: 50%; width: 11px; height: 11px; margin-left: -5.5px; border-radius: 50%; background: var(--surface); border: 2px solid #C3B9E3; box-sizing: border-box; }
.stages li::after { content: ""; position: absolute; top: 4.5px; left: -50%; right: 50%; height: 2px; background: #E2DCF2; }
[dir="rtl"] .stages li::after { left: 50%; right: -50%; }
.stages li:first-child::after { display: none; }
.stages li.on { color: var(--lav-ink); }
.stages li.on::before { background: var(--lav-ink); border-color: var(--lav-ink); }
.stages li.on::after { background: var(--lav-ink); }

.doc { display: block; width: 100%; max-width: 250px; height: auto; margin-inline: auto; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.chips li { font-size: 12px; font-weight: 700; color: var(--lav-ink); background: var(--lav); border-radius: 999px; padding: 3px 10px; }

.cloud { display: block; width: 100%; height: auto; }
.bc-value .axis { height: 30px; margin-top: -8px; }
.bc-value .axis .track, .bc-value .axis .band { top: 14px; }
.bc-value .axis .pin { top: 2px; height: 26px; }
.conf { display: flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: var(--ink-3); }
.conf span { margin-inline-end: 6px; }
.conf i { width: 16px; height: 6px; border-radius: 3px; background: var(--track); }
.conf i.on { background: var(--blue); }

.meter-l { font-size: 12px; font-weight: 700; color: var(--ink-3); }
.meter { position: relative; display: block; height: 10px; border-radius: 99px; background: var(--track); overflow: hidden; margin-bottom: 6px; }
.meter i { position: absolute; inset-block: 0; inset-inline-start: 0; width: 58%; border-radius: inherit; background: linear-gradient(90deg, #4F86DD, var(--blue)); transform-origin: left; transition: transform 1s var(--ease) .1s; }
[dir="rtl"] .meter i { background: linear-gradient(270deg, #4F86DD, var(--blue)); transform-origin: right; }
.alts { display: flex; gap: 10px; }
.alts svg { width: 40px; height: 34px; }

.spark { display: block; width: 100%; height: auto; }
.spark .line { stroke-dasharray: 100; stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--ease) .1s; }
.spark .area { transition: opacity .8s .6s; }
.bc-market .bc-vis { gap: 12px; }

/* the alert chip (demo window and market card) */
.w-alert { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.w-alert svg { width: 18px; height: 18px; flex: none; }
.w-alert.static { align-self: flex-start; padding: 7px 10px 7px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.sw-toggle { position: relative; width: 30px; height: 18px; flex: none; border-radius: 99px; background: #C5D0E0; transition: background-color .3s; }
.sw-toggle i { position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(15, 27, 51, .25); transition: transform .3s var(--ease); }
[dir="rtl"] .sw-toggle i { left: auto; right: 2px; }
.sw-toggle.on { background: var(--blue); }
.sw-toggle.on i { transform: translateX(12px); }
[dir="rtl"] .sw-toggle.on i { transform: translateX(-12px); }

.bc-qs { display: flex; flex-direction: column; gap: 16px; padding: 22px 20px;
  background: linear-gradient(135deg, #F3F7FD 0%, #F5F1FB 100%); }
.bc-qs .bc-txt { padding: 0; }
.bc-qs h3 { font-family: var(--display); font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2; letter-spacing: -.01em; }
:lang(ar) .bc-qs h3 { letter-spacing: 0; line-height: 1.35; }
.qs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.qs li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px 7px 12px; }
[dir="rtl"] .qs li { padding: 7px 12px 7px 14px; }
/* a small dot, not a "?" badge: the question mark belongs at the end of each question (in RTL a leading "?" read as misplaced) */
.qs li::before { content: ""; width: 6px; height: 6px; flex: none; border-radius: 50%; background: var(--blue); }

@media (max-width: 759px) { .bc { padding: 12px 12px 16px; row-gap: 14px; } .bc-vis { min-height: 0; padding: 14px; } .ring { width: 80px; height: 80px; } .bc-score .bc-vis { gap: 16px; } }
@media (min-width: 760px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .bc-score, .bc-qs, .bc-market { grid-column: 1 / -1; }
  .bc { padding: 16px 16px 20px; }
}
@media (min-width: 1040px) {
  .bento { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bc-score { grid-column: span 2; }
  .bc-market { grid-column: auto; }
  .bc-qs { grid-column: 1 / -1; padding: 28px 30px; }
  .bc-score .bc-vis { padding: 18px 28px; gap: 32px; }
}

/* reveal: the visuals settle in once, when their section first scrolls into view */
.js .reveal:not(.in) .ring .arc { stroke-dashoffset: 78; }
.js .reveal:not(.in) .bars i::before, .js .reveal:not(.in) .meter i { transform: scaleX(0); }
.js .reveal:not(.in) .spark .line { stroke-dashoffset: 100; }
.js .reveal:not(.in) .spark .area { opacity: 0; }

/* sources we build on: names only, as text */
.sources { margin-top: 16px; padding: 16px 20px; border: 1px solid var(--line-2); border-radius: 18px; background: var(--ground); display: flex; flex-direction: column; gap: 8px; }
.src-t { margin: 0; font-size: 13px; font-weight: 800; color: var(--ink-2); }
.sources ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.sources li { font-size: 15px; font-weight: 600; color: var(--ink); }
.sources li + li::before { content: "·"; margin-inline: 10px; color: var(--ink-3); }
.src-n { margin: 0; font-size: 12px; color: var(--ink-3); }

/* what's coming: every layer, grouped, with an honest status */
.road-key { list-style: none; margin: -8px 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.road-key li { display: inline-flex; align-items: center; gap: 8px; }
.st { display: inline-block; width: 11px; height: 11px; flex: none; border-radius: 50%; box-sizing: border-box; }
.st.now { background: var(--blue); box-shadow: 0 0 0 3px rgba(16, 77, 174, .14); }
.st.dev { border: 2px solid var(--blue); background: linear-gradient(90deg, var(--blue) 50%, transparent 50%); }
[dir="rtl"] .st.dev { background: linear-gradient(270deg, var(--blue) 50%, transparent 50%); }
.st.later { border: 2px solid #7D8AA0; background: var(--surface); }
.road { display: grid; gap: 12px; }
.road-col { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; }
.road-col h3 { margin: 0 0 12px; font-size: 16.5px; font-weight: 800; color: var(--ink); }
.road-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.road-col li { display: grid; grid-template-columns: 11px minmax(0, 1fr); gap: 11px; align-items: start; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.road-col li .st { margin-top: .42em; }
.road-note { margin: 14px 0 0; font-size: 13px; color: var(--ink-3); }
.road-cta { display: flex; flex-direction: column; justify-content: center; gap: 4px; background: var(--sky); border: 1px dashed #9DBDEB; text-decoration: none; color: var(--ink); transition: background-color .2s, border-color .2s; }
.road-cta strong { font-size: 16.5px; }
.road-cta span { font-size: 14.5px; color: var(--blue-ink); }
.road-cta span::after { content: " ←"; }
[dir="ltr"] .road-cta span::after { content: " →"; }
.road-cta:hover { background: #DDEEFF; border-color: var(--blue); color: var(--ink); }
@media (min-width: 700px) { .road { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 1040px) { .road { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* closing band */
section.block.finale { border-top: 0; padding-top: 12px; }
.final-card { position: relative; overflow: hidden; border-radius: 26px; padding: 34px 24px; color: #fff; display: flex; flex-direction: column; align-items: flex-start; gap: 22px;
  background: radial-gradient(120% 150% at 88% 0%, #2A6AD3 0%, #104DAE 34%, #0B2F6C 74%, #09234F 100%);
  box-shadow: 0 30px 60px -32px rgba(9, 35, 79, .7); }
[dir="rtl"] .final-card { background: radial-gradient(120% 150% at 12% 0%, #2A6AD3 0%, #104DAE 34%, #0B2F6C 74%, #09234F 100%); }
.final-grid { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
[dir="ltr"] .final-grid { transform: scaleX(-1); }
@media (max-width: 799px) { .final-grid .fg-parcel { display: none; } }
.final-txt { position: relative; }
.final-card h2 { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(34px, 6vw, 56px); line-height: 1.04; letter-spacing: -.02em; }
:lang(ar) .final-card h2 { line-height: 1.3; letter-spacing: 0; }
.final-card h2 span { display: block; }
.final-card h2 .lit { color: #A9CBFF; }
.final-card p { margin: 12px 0 0; font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, .84); max-width: 32em; }
.final-btn { position: relative; flex: none; display: inline-flex; align-items: center; min-height: 52px; padding: 0 24px; border-radius: 13px; background: #fff; color: var(--blue-ink); font-weight: 800; font-size: 16px; text-decoration: none;
  box-shadow: 0 12px 28px -12px rgba(0, 0, 0, .45); transition: transform .15s, box-shadow .2s; }
.final-btn:hover { color: var(--blue-ink); transform: translateY(-1px); box-shadow: 0 16px 32px -12px rgba(0, 0, 0, .5); }
.final-btn:focus-visible { outline-color: #fff; outline-offset: 3px; }
@media (min-width: 800px) { .final-card { flex-direction: row; align-items: center; justify-content: space-between; padding: 52px 56px; } }

/* demo window: step 2 opens the address file, step 3 the checklist and an alert */
.w-file { inset-inline: 14px; top: 64px; bottom: 14px; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.wf-head { display: flex; align-items: center; gap: 8px; min-width: 0; }
.wf-pin svg { display: block; width: 18px; height: 18px; }
.ph.w45 { width: 45%; height: 9px; }
.wf-ok { margin-inline-start: auto; font-size: 11px; font-weight: 700; color: var(--blue-ink); background: var(--sky); border: 1px solid var(--sky-line); border-radius: 999px; padding: 2px 9px; white-space: nowrap; }
.wf-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 8px; }
.wf-t { position: relative; min-width: 0; overflow: hidden; background: var(--ground); border: 1px solid var(--line-2); border-radius: 11px; padding: 8px 10px; display: flex; flex-direction: column; justify-content: flex-start; gap: 6px; }
.wf-t > :not(.wf-l) { margin-block: auto; }
.wf-t.t3 > .wf-pm, .wf-t.t6 > :not(.wf-l) { margin-block: 0; }
.wf-t.t3, .wf-t.t6 { justify-content: space-evenly; }
.wf-t::after { content: "i"; position: absolute; top: 6px; inset-inline-end: 7px; width: 15px; height: 15px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--blue); font: italic 700 9.5px/13px Georgia, serif; text-align: center; }
.wf-l { font-size: 11.5px; font-weight: 700; line-height: 1.2; color: var(--ink-2); padding-inline-end: 18px; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
.wf-t.t1 { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 10px; align-items: center; }
.wf-t.t1 .wf-l { grid-column: 1 / -1; }
.wf-ring { width: 34px; height: 34px; }
.wf-ring .arc { stroke-dasharray: 76 100; }
.wf-bars { display: flex; flex-direction: column; gap: 4px; }
.wf-bars i { display: block; height: 4px; border-radius: 2px; background: #C9D8EC; }
.wf-bars .b1 { width: 92%; } .wf-bars .b2 { width: 68%; } .wf-bars .b3 { width: 80%; }
.wf-icons { display: flex; gap: 6px; }
.wf-icons svg { width: 22px; height: 22px; }
.wf-pm { display: flex; align-items: center; gap: 6px; }
.wf-pm i { font-style: normal; width: 15px; height: 15px; flex: none; border-radius: 4px; display: grid; place-items: center; font-size: 11px; font-weight: 800; line-height: 1; }
.wf-pm .p { background: var(--sky); color: var(--blue); }
.wf-pm .m { background: var(--amber); color: var(--amber-ink); }
.wf-pm .ph { flex: 1; height: 6px; } .wf-pm .ph.short { flex: 0 0 55%; }
.wf-stage { display: flex; align-items: center; }
.wf-stage i { position: relative; width: 10px; height: 10px; border-radius: 50%; border: 2px solid #C3B9E3; background: #fff; box-sizing: border-box; }
.wf-stage i + i { margin-inline-start: 16px; }
.wf-stage i + i::before { content: ""; position: absolute; top: 2px; inset-inline-end: 100%; width: 18px; height: 2px; margin-inline-end: 1px; background: #E2DCF2; }
.wf-stage i.on { background: var(--lav-ink); border-color: var(--lav-ink); }
.wf-stage i.on + i.on::before { background: var(--lav-ink); }
.axis.mini { display: block; height: 18px; }
.axis.mini .track, .axis.mini .band { top: 8px; height: 6px; }
.axis.mini .pin { top: 1px; height: 17px; width: 2px; }
.axis.mini .pin::before { top: -3px; left: -3px; width: 8px; height: 8px; border-width: 1.5px; }
.wf-meter { position: relative; display: block; height: 6px; border-radius: 3px; background: var(--track); overflow: hidden; }
.wf-meter i { position: absolute; inset-block: 0; inset-inline-start: 0; width: 60%; border-radius: inherit; background: var(--blue); }
.wf-alts { display: flex; gap: 4px; }
.wf-alts i { width: 18px; height: 12px; border-radius: 3px; background: #DCE6F3; }
.w-check { z-index: 2; }
.win-body .w-alert { position: absolute; z-index: 2; inset-inline-start: 14px; bottom: 14px; padding: 9px 10px 9px 12px; background: var(--surface); border-radius: 12px; box-shadow: 0 10px 28px rgba(15, 27, 51, .18), 0 0 0 1px rgba(15, 27, 51, .04); }
html:not(.js) .win-body .w-check, html:not(.js) .win-body .w-alert { display: none; }
.js .demo-win .w-file { transition: opacity .35s, transform .45s var(--ease); }
.js .demo-win[data-step="2"] .w-file { opacity: 1; transform: none; }
.js .demo-win[data-step="3"] .w-file { opacity: 1; transform: none; }
.js .demo-win .wf-head, .js .demo-win .wf-grid { transition: opacity .35s; }
.js .demo-win[data-step="3"] .wf-head, .js .demo-win[data-step="3"] .wf-grid { opacity: .3; }
.js .demo-win[data-step="3"] .w-check, .js .demo-win[data-step="3"] .w-alert { opacity: 1; transform: none; }
.js .demo-win[data-step="3"] .w-alert { transition-delay: .25s; }
.js .demo-win .wf-t { opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .4s var(--ease); }
.js .demo-win:is([data-step="2"], [data-step="3"]) .wf-t { opacity: 1; transform: none; }
.js .demo-win .wf-t.t2 { transition-delay: .07s; } .js .demo-win .wf-t.t3 { transition-delay: .14s; } .js .demo-win .wf-t.t4 { transition-delay: .21s; }
.js .demo-win .wf-t.t5 { transition-delay: .28s; } .js .demo-win .wf-t.t6 { transition-delay: .35s; }
.js .demo-win .wf-ring .arc { stroke-dashoffset: 76; transition: stroke-dashoffset .9s var(--ease) .45s; }
.js .demo-win:is([data-step="2"], [data-step="3"]) .wf-ring .arc { stroke-dashoffset: 0; }
.js .demo-win[data-step="3"] .w-alert .sw-toggle { background: var(--blue); transition-delay: 1.1s; }
.js .demo-win[data-step="3"] .w-alert .sw-toggle i { transform: translateX(12px); transition-delay: 1.1s; }
[dir="rtl"].js .demo-win[data-step="3"] .w-alert .sw-toggle i { transform: translateX(-12px); }
@media (max-width: 419px) { .w-check { width: 62%; } .wf-t { padding: 7px 8px; } .wf-l { font-size: 11px; } }

/* Roadmap: the longer tail of each group folds away, so the section stays scannable. */
.road-more { margin-top: 12px; border-top: 1px dashed var(--line); padding-top: 10px; }
.road-more summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 32px; font-size: 14px; font-weight: 700; color: var(--blue-ink); border-radius: 8px; }
.road-more summary::-webkit-details-marker { display: none; }
.road-more summary::after { content: "+"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid #BFD3F0; font-size: 16px; font-weight: 400; line-height: 1; transition: transform .3s var(--ease), background-color .2s; }
.road-more[open] summary::after { transform: rotate(45deg); background: var(--sky); }
.road-more summary:hover { color: var(--blue); }
.road-more summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.road-more ul { margin-top: 10px; }

/* Review fixes (27/11): native step buttons, the "i" button only with JS, shared audience scope, forced colors. */
.step-btn { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; text-align: inherit; cursor: pointer; border-radius: 4px; }
.step-btn::before { content: ""; position: absolute; inset: 0; }
.step-btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
@supports selector(:has(*)) { .step-btn:focus-visible { outline: none; } .step:has(.step-btn:focus-visible) { outline: 2px solid var(--blue); outline-offset: 2px; } }
html:not(.js) .i-btn { display: none; }
.who-all { display: flex; gap: 12px; align-items: flex-start; margin: 14px 0 0; padding: 14px 18px; border-radius: 16px; background: var(--sky); border: 1px solid var(--sky-line); font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.who-all svg { width: 24px; height: 24px; flex: none; margin-top: 1px; }
.who-all strong { color: var(--ink); font-weight: 800; }
@media (forced-colors: active) {
  .st { forced-color-adjust: none; border: 2px solid CanvasText; box-shadow: none; }
  .st.now { background: CanvasText; border-color: CanvasText; }
  .st.dev { background: linear-gradient(90deg, CanvasText 50%, Canvas 50%); border-color: CanvasText; }
  [dir="rtl"] .st.dev { background: linear-gradient(270deg, CanvasText 50%, Canvas 50%); }
  .st.later { background: Canvas; border-color: CanvasText; }
}

/* phones: every control gets a 44px hit area (the drawn size stays) */
/* (the step buttons already cover their whole step card) */
.i-btn, .road-more summary, .langs a { position: relative; }
.i-btn::after { content: ""; position: absolute; inset: -8px; }
.road-more summary::before { content: ""; position: absolute; inset: -6px -4px; }
.langs a { min-width: 44px; min-height: 44px; }
@media (max-width: 359px) { .langs a { min-width: 34px; padding-inline: 3px; } }

/* phones: a slim "notify me" bar once the hero form has scrolled away; hidden near the end card */
.m-cta { display: none; }
@media (max-width: 699px) {
  .js .m-cta { display: flex; position: fixed; z-index: 20; inset-inline: 12px; bottom: max(12px, env(safe-area-inset-bottom, 0px));
    min-height: 48px; align-items: center; justify-content: center; border-radius: 14px; border: 1px solid var(--blue-ink);
    background: linear-gradient(180deg, #1B5BC4, var(--blue)); color: #fff; font-weight: 700; font-size: 16px; text-decoration: none;
    box-shadow: 0 10px 28px -8px rgba(15, 27, 51, .45); opacity: 0; visibility: hidden; transform: translateY(12px);
    transition: opacity .2s, visibility .2s, transform .2s; }
  /* only where :has works, so keyboard users can always make the bar step aside while anything else has focus */
  @supports selector(html:has(:focus-visible)) {
    .js.io.past-signup:not(.at-end):not(.info-open) .m-cta { opacity: 1; visibility: visible; transform: none; }
    html:has(:focus-visible:not(.m-cta)) .m-cta { opacity: 0 !important; visibility: hidden !important; }
    /* focused items scroll clear of the bar */
    html.io { scroll-padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
    .js.io.past-signup .foot { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  }
}
@media (prefers-reduced-motion: reduce) { .m-cta { transition: none; } }
@media print { .m-cta { display: none !important; } }

/* 404 */
.nf { padding-top: 48px; padding-bottom: 64px; max-width: 640px; }
.nf-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 22px; }
.nf-brand .mark { width: 36px; height: 36px; }
.nf h1 { margin: 28px 0 8px; font-size: clamp(30px, 7vw, 44px); }
.nf p { color: var(--ink-2); }
.nf-langs { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 6px; }
.nf-langs a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }

/* folded legal cards stay compact; footer links get a taller tap area on phones */
.legal-card:not([open]) { padding-block: 10px; }
@media (max-width: 699px) { footer.foot nav { gap: 0 16px; } footer.foot nav a { display: inline-flex; align-items: center; min-height: 40px; } }
