/* ============================================================
   feature.css — the feature landing pages (2026-11-21)
   ============================================================
   Loaded after /static/site.css by /listings-tracker, /competitor-alerts,
   /listing-protection, /valuation-report and their /en/ twins. site.css keeps
   the colours, the logo, the buttons with their one hover, the icons and the
   footer; this file holds the rest, so a feature page carries no <style> of its
   own and the next one reuses this file unchanged.

   Rules kept here: colours are site.css tokens only (no hex in this file), type
   in multiples of 4 and 48px at most, spacing in 4s, logical properties
   (inline/block) so one file serves RTL and LTR, and phone first: the base rules
   are the 320px phone with a 16px gutter and no sideways scroll; wider screens
   add to them. The nav and the phone bar copy the agents page's own <style>
   (site.css defines neither), so the top of every page looks the same.

   Classes
   .wrap                 the page column: 16px gutter, 48px from 821px
   body > nav, .nav-links  the top bar, as on the agents page (.nl-full / .nl-short labels);
                         scoped to body > nav so the breadcrumb's <nav> is left alone
   .crumbs               the small breadcrumb above the hero (the page's BreadcrumbList)
   .hero                 first screen, answer first: .eyebrow, h1, .lede, .cta-row, .trust
   .band                 a section of the page; .band-tight for a short one
   .sec-head             a section's centred head: .sec-eyebrow, h2, .sec-sub
   .steps > .step        "how it works": numbered cards (.step-n, h3, p) in an <ol>
   .split                two columns from 1025px (an example card beside its notes)
   .example              the illustrative card, always labelled: .example-head (.example-title,
                         .example-tag), .ex-meta (.dot), .ex-label, .ex-meter (portal bars:
                         .who, .track > i, .n), .ex-row (.ex-main with b + small, then a .tag)
   .tag                  a small label: .hi above / .ok within / .lo below / .na not compared / .am note
   .notes                plain notes beside the example card
   .details > .detail    "what you get" cards (.ic-box, h3, p)
   .figure               one real, dated data point: .figure-title, .figure-nums (.figure-num + span),
                         .figure-method (date, sample and method in one short paragraph)
   .limits               the honest "what it does not do" box: .limits-list, .limits-foot
   .compare-table        a feature vs a CRM vs the portals' tools; on a phone each row stacks
                         into a card and every cell shows its column from data-label; .us marks
                         AqarHawk's column; .compare-note under it
   .city-h               a city's name above its table on /market-prices/areas (tools/area_price_pages.py)
   .faq > .faq-item      <details><summary> questions
   .cta-band             the closing offer, with .fineprint under its buttons
   .related > li > .related-card   links to sibling pages (.rc-text with b + span, then an icon)
   .sticky-cta           the phone's bottom bar (#stickyCta); the page's small script adds .away, and
                         body.cta-away for the chat button, once the closing section #start is reached
   ============================================================ */

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; -webkit-text-size-adjust:100%; text-size-adjust:100%; }
body { background:var(--page); color:var(--text); font-family:'Cairo',sans-serif;
       font-size:16px; line-height:1.6; overflow-x:hidden; overflow-x:clip; }
html[lang="en"] body { font-family:'Inter',sans-serif; }
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3, html[lang="en"] .logo { font-family:'Space Grotesk',sans-serif; }
html[lang="en"] h1 { letter-spacing:-1px; }
html[lang="en"] h2 { letter-spacing:-.8px; }
a { color:inherit; }
.num { font-family:'JetBrains Mono',monospace; }
.wrap { width:100%; max-width:1180px; margin-inline:auto; padding-inline:16px; }
section[id] { scroll-margin-top:80px; }

/* ── The top bar: the agents page's, written phone first ── */
body > nav { position:sticky; top:0; z-index:100; display:flex; align-items:center; gap:8px; padding:12px 16px;
      border-bottom:1px solid var(--border); background:var(--nav-bg);
      -webkit-backdrop-filter:blur(12px); backdrop-filter:blur(12px); }
body > nav .nav-start { order:1; margin-inline-end:auto; }
body > nav .brand-mark { width:36px; height:32px; }
.logo { font-weight:700; font-size:20px; color:var(--strong); letter-spacing:-.5px; }
.logo span { color:var(--signal-text); }
.nav-links { display:contents; font-size:16px; font-weight:500; }
.nav-links a { color:var(--text); text-decoration:none; transition:color .2s; }
.nav-links a:hover { color:var(--signal-text); }
/* Section links give way first on a narrow bar: the actions stay. */
.nav-links a:not(.nav-cta):not(.nav-ghost):not(.nav-lang) { display:none; }
.nav-links a.nav-lang { order:2; display:inline-flex; align-items:center; min-height:40px; padding:0 12px; font-size:12px;
                        border:1px solid var(--border); border-radius:8px; }
.nav-links a.nav-ghost { order:3; font-size:12px; padding:8px 12px; }
.nav-links a.nav-cta { order:4; font-size:12px; padding:8px 12px; }
.nl-full { display:none; }
.nl-short { display:inline; }
@media (max-width:370px) {
  .nav-links a.nav-ghost, .nav-links a.nav-cta { padding:8px; }
}
@media (max-width:340px) {
  /* Log in stays in the hero's second button; the first row cannot hold both actions here. */
  .nav-links a.nav-ghost { display:none; }
}
@media (min-width:761px) {
  body > nav .nav-start { order:0; }
  body > nav .brand-mark { width:44px; height:40px; }
  .nav-links { display:flex; align-items:center; gap:8px; margin-inline-start:auto; }
  .nl-full { display:inline; }
  .nl-short { display:none; }
  .nav-links a.nav-lang { display:inline; min-height:0; padding:0; border:0; font-size:16px; }
  .nav-links a.nav-ghost, .nav-links a.nav-cta { font-size:16px; }
}
@media (min-width:821px) {
  .wrap { padding-inline:48px; }
  body > nav { padding:16px 48px; gap:16px; }
  .nav-links { gap:24px; }
  .logo { font-size:24px; }
  .nav-links a.nav-ghost, .nav-links a.nav-cta { padding:8px 16px; }
}
@media (min-width:1280px) {
  .nav-links a:not(.nav-cta):not(.nav-ghost):not(.nav-lang) { display:inline; }
}

/* ── Breadcrumb ── */
.crumbs { font-size:12px; line-height:16px; color:var(--muted); margin-bottom:24px; }
.crumbs ol { list-style:none; display:flex; flex-wrap:wrap; justify-content:center; gap:4px 8px; }
.crumbs li + li::before { content:'/'; margin-inline-end:8px; color:var(--muted); }
.crumbs a { text-decoration:none; }
.crumbs a:hover { color:var(--signal-text); }

/* ── Hero: the question in its own words, then the answer ── */
.hero { position:relative; isolation:isolate; text-align:center; padding:32px 0 48px; }
.hero::before { content:''; position:absolute; inset:0; z-index:-1; pointer-events:none;
                background:radial-gradient(closest-side at 72% 36%, var(--hero-glow), transparent),
                           radial-gradient(closest-side at 24% 64%, var(--hero-glow-2), transparent); }
.eyebrow { display:inline-flex; align-items:center; gap:8px; max-width:100%; font-size:12px; font-weight:600; line-height:16px;
           color:var(--signal-text); padding:4px 12px; margin-bottom:20px; border-radius:100px;
           border:1px solid var(--border); border-color:color-mix(in srgb, var(--signal) 30%, transparent);
           background:var(--hero-glow); }
.eyebrow .ic { font-size:16px; }
h1 { font-size:28px; font-weight:800; line-height:1.3; color:var(--strong); max-width:880px; margin:0 auto 16px; text-wrap:balance; }
.lede { font-size:16px; color:var(--text); max-width:720px; margin:0 auto 24px; }
.lede strong { color:var(--strong); font-weight:700; }
.cta-row { display:flex; flex-wrap:wrap; gap:12px; justify-content:center; }
.cta-row .btn { white-space:normal; text-align:center; }
.trust { list-style:none; display:flex; flex-wrap:wrap; justify-content:center; gap:8px 16px; margin-top:20px;
         font-size:12px; line-height:16px; color:var(--muted); }
.trust li { display:inline-flex; align-items:center; gap:4px; }
.trust li::before { content:''; flex:none; width:16px; height:16px; background:var(--good);
                    -webkit-mask:var(--ic-tick) center/contain no-repeat; mask:var(--ic-tick) center/contain no-repeat; }
@media (max-width:480px) {
  .cta-row .btn { width:100%; }
}
@media (min-width:481px) {
  h1 { font-size:36px; }
}
@media (min-width:821px) {
  .hero { padding:64px 0 72px; }
  .crumbs { margin-bottom:32px; }
  .eyebrow { font-size:16px; line-height:24px; padding:4px 16px; margin-bottom:24px; }
  .lede { font-size:20px; margin-bottom:32px; }
  .trust { font-size:16px; line-height:24px; gap:8px 24px; margin-top:24px; }
}
@media (min-width:1025px) {
  h1 { font-size:48px; line-height:1.2; margin-bottom:24px; }
}

/* ── Sections ── */
.band { padding:48px 0; }
.band-tight { padding:32px 0; }
.sec-head { text-align:center; max-width:760px; margin:0 auto 32px; }
.sec-eyebrow { font-size:12px; font-weight:600; line-height:16px; color:var(--signal-text); margin-bottom:12px; }
html[lang="en"] .sec-eyebrow { font-family:'JetBrains Mono',monospace; font-weight:500; letter-spacing:2px; text-transform:uppercase; }
h2 { font-size:24px; font-weight:800; line-height:1.3; color:var(--strong); margin-bottom:12px; text-wrap:balance; }
.sec-sub { font-size:16px; color:var(--muted); }
.band-tight h2 { font-size:24px; }
@media (min-width:821px) {
  .band { padding:80px 0; }
  .band-tight { padding:48px 0; }
  .sec-head { margin-bottom:48px; }
  h2 { font-size:36px; }
  .band-tight h2 { font-size:24px; }
  .sec-sub { font-size:20px; }
}

/* ── How it works ── */
.steps { list-style:none; display:grid; gap:16px; }
.step { display:grid; grid-template-columns:auto 1fr; column-gap:16px; align-items:start; padding:20px;
        background:var(--surface); border:1px solid var(--border); border-radius:16px; }
.step-n { grid-row:1 / span 2; font-family:'JetBrains Mono',monospace; font-size:32px; font-weight:500; line-height:40px; color:var(--signal-text); }
.step h3 { grid-column:2; font-size:20px; line-height:1.4; color:var(--strong); margin-bottom:8px; }
.step p { grid-column:2; font-size:16px; color:var(--muted); }
@media (min-width:821px) {
  .steps { grid-template-columns:repeat(3,1fr); gap:24px; }
  .step { padding:32px 24px; }
}

/* ── Two columns: the example beside its notes ── */
.split { display:grid; gap:32px; align-items:start; }
@media (min-width:1025px) {
  .split { grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); gap:48px; align-items:center; }
}

/* ── The example card (illustrative values, always labelled) ── */
.example { width:100%; max-width:560px; margin-inline:auto; padding:16px; background:var(--surface);
           border:1px solid var(--border); border-radius:16px; box-shadow:var(--shadow-mock); }
.example-head { display:flex; justify-content:space-between; align-items:center; gap:12px;
                padding-bottom:12px; margin-bottom:12px; border-bottom:1px solid var(--border); }
.example-title { font-size:16px; font-weight:700; line-height:24px; color:var(--strong); }
.example-tag { flex:none; font-size:12px; font-weight:700; line-height:16px; color:var(--on-signal); background:var(--signal);
               border-radius:4px; padding:4px 8px; }
.ex-meta { display:flex; flex-wrap:wrap; justify-content:space-between; gap:4px 16px; font-size:12px; line-height:20px; color:var(--muted); }
.ex-meta span { display:inline-flex; align-items:center; gap:8px; }
.ex-meta b { color:var(--strong); font-weight:600; }
.dot { flex:none; width:8px; height:8px; border-radius:50%; background:var(--good); }
.ex-label { font-size:12px; font-weight:700; line-height:16px; color:var(--muted); margin:16px 0 8px; }
.ex-meter { list-style:none; display:grid; gap:8px; }
.ex-meter li { display:grid; grid-template-columns:minmax(0,96px) minmax(0,1fr) 32px; align-items:center; gap:8px;
               font-size:12px; line-height:16px; }
.ex-meter .who { color:var(--text); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.ex-meter .track { height:8px; border-radius:4px; background:var(--card); overflow:hidden; }
.ex-meter .track i { display:block; height:100%; border-radius:4px; background:var(--signal2-ink); }
.ex-meter .n { text-align:end; color:var(--strong); font-family:'JetBrains Mono',monospace; }
.ex-row { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:8px; padding:8px 12px; margin-bottom:8px;
          background:var(--page); border:1px solid var(--border); border-radius:8px; font-size:12px; line-height:20px; }
.ex-row:last-child { margin-bottom:0; }
.ex-main { min-width:0; }
.ex-main b { display:block; color:var(--strong); font-weight:600; }
.ex-main small { display:block; font-size:12px; color:var(--muted); }
.tag { flex:none; display:inline-flex; align-items:center; gap:4px; font-size:12px; font-weight:700; line-height:16px;
       padding:4px 8px; border-radius:8px; white-space:nowrap; background:var(--card); }
.tag.hi { color:var(--bad-ink); background:color-mix(in srgb, var(--bad) 14%, transparent); }
.tag.ok { color:var(--good); background:color-mix(in srgb, var(--signal2) 20%, transparent); }
.tag.lo { color:var(--blue-ink); background:color-mix(in srgb, var(--blue) 14%, transparent); }
.tag.am { color:var(--signal-text); background:color-mix(in srgb, var(--signal) 14%, transparent); }
.tag.na { color:var(--muted); background:var(--card); }
@media (min-width:1025px) {
  .example { padding:24px; }
  .example-title { font-size:20px; line-height:28px; }
  .ex-row { padding:12px 16px; font-size:16px; line-height:24px; }
  .ex-meter li { grid-template-columns:minmax(0,128px) minmax(0,1fr) 32px; font-size:16px; line-height:24px; }
}

/* ── Notes beside the example ── */
.notes { list-style:none; display:grid; gap:16px; }
.notes li { padding-inline-start:16px; border-inline-start:2px solid var(--border); font-size:16px; color:var(--muted); }
.notes b { display:block; color:var(--strong); font-weight:700; }
@media (min-width:1025px) {
  .notes { gap:24px; }
  .notes b { font-size:20px; line-height:28px; margin-bottom:4px; }
}

/* ── What you get ── */
.details { list-style:none; display:grid; gap:16px; }
.detail { padding:20px; background:var(--surface); border:1px solid var(--border); border-radius:16px; }
.ic-box { width:40px; height:40px; display:flex; align-items:center; justify-content:center; margin-bottom:12px;
          border-radius:12px; background:var(--card); color:var(--signal-text); font-size:20px; }
.detail h3 { font-size:20px; line-height:1.4; color:var(--strong); margin-bottom:8px; }
.detail p { font-size:16px; color:var(--muted); }
@media (min-width:641px) {
  .details { grid-template-columns:1fr 1fr; }
}
@media (min-width:1025px) {
  .details { grid-template-columns:repeat(3,1fr); gap:24px; }
  .detail { padding:24px; }
}

/* ── One real data point, with its date and method ── */
.figure { display:grid; gap:20px; margin-top:32px; padding:24px 20px; background:var(--surface);
          border:1px solid var(--border); border-inline-start:4px solid var(--signal); border-radius:16px; }
.figure-title { font-size:16px; font-weight:700; line-height:24px; color:var(--strong); }
.figure-nums { display:grid; gap:20px; }
.figure-num { display:block; font-family:'JetBrains Mono',monospace; font-size:36px; font-weight:500; line-height:44px; color:var(--signal-text); }
.figure-nums span { display:block; margin-top:4px; font-size:16px; color:var(--text); }
.figure-method { padding-top:16px; border-top:1px solid var(--border); font-size:12px; line-height:20px; color:var(--muted); }
@media (min-width:641px) {
  .figure-nums { grid-template-columns:1fr 1fr; gap:32px; }
}
@media (min-width:1025px) {
  .figure { padding:32px 40px; margin-top:48px; }
  .figure-title { font-size:20px; line-height:28px; }
  .figure-num { font-size:48px; line-height:56px; }
  .figure-method { font-size:16px; line-height:24px; }
}

/* ── What it does not do ── */
.limits { max-width:960px; margin-inline:auto; padding:24px 20px; background:var(--surface);
          border:1px solid var(--border); border-radius:16px; }
.limits-list { list-style:none; display:grid; gap:20px; }
.limits-list li { position:relative; padding-inline-start:24px; font-size:16px; color:var(--muted); }
.limits-list li::before { content:''; position:absolute; inset-inline-start:0; top:12px; width:12px; height:2px;
                          border-radius:2px; background:var(--signal); }
.limits-list b { display:block; color:var(--strong); font-weight:700; }
.limits-foot { margin-top:24px; padding-top:16px; border-top:1px solid var(--border); font-size:12px; line-height:20px; color:var(--muted); }
.limits-foot a { color:var(--signal-text); }
@media (min-width:1025px) {
  .limits { padding:40px; }
  .limits-list { grid-template-columns:1fr 1fr; gap:32px 48px; }
  .limits-foot { font-size:16px; line-height:24px; }
}

/* ── A feature vs a CRM vs the portals' own tools ──
   A phone has no room for four columns: each row becomes a card and every
   cell names its column from data-label. The table is a table again at 821px. */
.compare-wrap { max-width:1040px; margin-inline:auto; }
.compare-table { display:block; width:100%; border-collapse:separate; border-spacing:0; font-size:16px; }
.compare-table thead { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); clip-path:inset(50%); white-space:nowrap; }
.compare-table tbody, .compare-table tr, .compare-table th, .compare-table td { display:block; }
.compare-table tbody tr { margin-bottom:12px; padding:16px; background:var(--surface); border:1px solid var(--border); border-radius:16px; }
.compare-table tbody th { margin-bottom:8px; font-size:16px; font-weight:700; line-height:1.5; color:var(--strong); text-align:start; }
.compare-table td { display:flex; justify-content:space-between; align-items:baseline; gap:12px; padding:8px 0;
                    border-top:1px dashed var(--border); color:var(--muted); text-align:end; }
.compare-table td::before { content:attr(data-label); flex:none; max-width:45%; font-size:12px; font-weight:600; line-height:20px;
                            color:var(--muted); text-align:start; }
.compare-table td.us { color:var(--strong); font-weight:600; }
.compare-table td.us::before { color:var(--signal-text); }
.compare-note { margin-top:16px; font-size:12px; line-height:20px; color:var(--muted); text-align:center; }
@media (min-width:821px) {
  .compare-table { display:table; }
  .compare-table thead { position:static; width:auto; height:auto; overflow:visible; clip:auto; clip-path:none; white-space:normal;
                         display:table-header-group; }
  .compare-table tbody { display:table-row-group; }
  .compare-table tr, .compare-table tbody tr { display:table-row; margin:0; padding:0; background:none; border:0; border-radius:0; }
  .compare-table th, .compare-table td { display:table-cell; padding:16px; border-top:1px solid var(--border);
                                         text-align:start; vertical-align:top; }
  .compare-table td::before { content:none; }
  .compare-table thead th { border-top:0; font-size:12px; font-weight:700; line-height:16px; color:var(--muted); vertical-align:bottom; }
  .compare-table tbody th { margin:0; width:28%; }
  .compare-table .us { background:var(--surface); }
  .compare-table thead th.us { color:var(--signal-text); border-start-start-radius:12px; border-start-end-radius:12px; }
  .compare-table tbody tr:last-child .us { border-end-start-radius:12px; border-end-end-radius:12px; }
  .compare-note { font-size:16px; line-height:24px; margin-top:24px; }
}

/* ── A city's name above its table (/market-prices/areas) ── */
.city-h { max-width:1040px; margin:40px auto 16px; font-size:20px; line-height:28px; color:var(--strong); }
.city-h:first-of-type { margin-top:0; }
.city-h a { text-decoration:none; }
.city-h a:hover { color:var(--signal-text); }

/* ── FAQ ── */
.faq { display:grid; gap:12px; max-width:880px; margin-inline:auto; }
.faq-item { overflow:hidden; background:var(--surface); border:1px solid var(--border); border-radius:12px; }
.faq-item summary { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:16px 20px; cursor:pointer;
                    list-style:none; font-size:16px; font-weight:600; line-height:1.5; color:var(--strong); }
.faq-item summary::-webkit-details-marker { display:none; }
.faq-item summary::after { content:''; flex:none; width:16px; height:16px; background:var(--signal); transition:transform .2s;
                           -webkit-mask:var(--ic-plus) center/contain no-repeat; mask:var(--ic-plus) center/contain no-repeat; }
.faq-item[open] summary::after { transform:rotate(45deg); }
.faq-item summary:focus-visible { outline:2px solid var(--signal); outline-offset:-2px; }
.faq-item p { padding:0 20px 20px; font-size:16px; color:var(--muted); }
.faq-item a { color:var(--signal-text); }
@media (min-width:1025px) {
  .faq-item summary { font-size:20px; padding:20px 24px; }
  .faq-item p { padding:0 24px 24px; }
}

/* ── The closing offer ── */
.cta-band { position:relative; isolation:isolate; overflow:hidden; padding:32px 20px; text-align:center;
            background:var(--surface); border:1px solid var(--border); border-radius:20px; }
.cta-band::before { content:''; position:absolute; inset:0; z-index:-1; pointer-events:none;
                    background:radial-gradient(closest-side at 50% 0%, var(--hero-glow), transparent); }
.cta-band .sec-sub { max-width:640px; margin:0 auto 24px; }
.cta-band .cta-row { margin-bottom:24px; }
.fineprint { max-width:720px; margin-inline:auto; font-size:12px; line-height:20px; color:var(--muted); }
.fineprint a { color:var(--signal-text); }
.fineprint [dir="ltr"] { unicode-bidi:isolate; }
.fineprint a[href^="tel:"] { white-space:nowrap; }
@media (min-width:821px) {
  .cta-band { padding:64px 48px; }
  .fineprint { font-size:16px; line-height:24px; }
}

/* ── Related pages ── */
.related { list-style:none; display:grid; gap:12px; }
.related-card { display:flex; align-items:center; gap:16px; height:100%; padding:20px; text-decoration:none;
                background:var(--surface); border:1px solid var(--border); border-radius:16px; transition:border-color .16s ease; }
.related-card:hover { border-color:var(--signal); }
.related-card:focus-visible { outline:2px solid var(--signal); outline-offset:2px; }
.rc-text { flex:1; min-width:0; }
.rc-text b { display:block; margin-bottom:4px; font-size:16px; line-height:24px; color:var(--strong); }
.rc-text span { display:block; font-size:12px; line-height:20px; color:var(--muted); }
.related-card .ic { font-size:20px; color:var(--signal-text); }
@media (min-width:821px) {
  .related { grid-template-columns:repeat(3,1fr); gap:16px; }
  .rc-text span { font-size:16px; line-height:24px; }
}

/* ── The phone's bottom bar: the offer stays in reach, and steps aside at the closing offer ── */
.sticky-cta { position:fixed; z-index:90; inset-inline:0; bottom:0; display:flex; align-items:center; gap:12px;
              padding:8px 16px calc(8px + env(safe-area-inset-bottom)); background:var(--nav-bg);
              border-top:1px solid var(--border); -webkit-backdrop-filter:blur(12px); backdrop-filter:blur(12px); transition:transform .3s; }
.sticky-cta.away { transform:translateY(110%); }
.sticky-cta span { flex:1; font-size:12px; line-height:16px; color:var(--text); }
.sticky-cta .btn { min-height:40px; padding:8px 16px; }
@media (max-width:820px) {
  /* The chat launcher shares the bottom corner: it rises above the bar while the bar shows. */
  body:not(.cta-away) .ah-chat { bottom:84px; transition:bottom .3s; }
}
@media (min-width:821px) {
  .sticky-cta { display:none; }
}

@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  .sticky-cta, .related-card, .faq-item summary::after { transition:none; }
}
@media print {
  .sticky-cta { display:none !important; }
  body > nav { position:static; }
}
