/* Bridge for legacy pages (sector, guide, blog, insights, landing, property): Heebo everywhere, flat tokens-aligned
   buttons and links, and spacing where the sticky shell header meets the old page bodies. Loaded after the legacy sheets. */

/* Legacy sticky offsets and anchors follow the real header height. */
:root{--navbar-height:var(--s-header-h)}

/* One typeface: every legacy font variable resolves to Heebo, so no page requests Inter, Playfair or JetBrains Mono. */
:root,html[lang]{--font-sans:var(--s-font);--font-serif:var(--s-font);--font-mono:var(--s-font);--font-heading:var(--s-font);--font-display:var(--s-font);--font-hebrew:var(--s-font);--font-body:var(--s-font)}
.trust-num,.exclusive-h2{font-family:var(--s-font)}
.pp-stat .v{font-variant-numeric:tabular-nums}

/* Buttons: flat, 2px corners, no gradient or shadow; ink on light backgrounds, stone on dark bands. */
.btn,.btn-gold-cta,.btn-wa,.btn-wa-large{border-radius:2px;text-transform:none;letter-spacing:0;font-weight:600;box-shadow:none;background-image:none}
.btn-gold,.btn-primary,.btn-gold-cta{background:var(--s-ink);color:var(--s-on-ink);border-color:var(--s-ink);box-shadow:none}
.btn-gold:hover,.btn-primary:hover,.btn-gold-cta:hover{background:var(--s-ink-deep);color:var(--s-on-ink);box-shadow:none}
.btn-outline{background:transparent;color:var(--s-ink);border:1px solid var(--s-ink);box-shadow:none}
.btn-outline:hover{background:var(--s-ink);color:var(--s-on-ink);box-shadow:none}
:is(.cta-section,.contact-cta,.hero-stats,.testimonials-section,.landing-proof,.blog-hero,.blog-cta-strip,.authority-practice) :is(.btn-gold,.btn-primary,.btn-gold-cta){background:var(--s-stone);color:var(--s-ink);border-color:var(--s-stone)}
:is(.cta-section,.contact-cta,.hero-stats,.testimonials-section,.landing-proof,.blog-hero,.blog-cta-strip,.authority-practice) .btn-outline{background:transparent;color:var(--s-on-ink);border-color:var(--s-on-ink)}
html .site-authority :is(a,button,input,select,textarea,summary):focus-visible{outline:2px solid var(--s-brass-ink);outline-offset:2px}

/* Links inside running text use the brass-ink token (5.4:1 on stone). */
html .site-authority main :is(p,li) a:not([class]){color:var(--s-brass-ink)}

/* The shell header is sticky and in the page flow (the old navbar was fixed), so the old top offsets shrink. */
:is(.page-hero,.page-properties .page-hero,.page-insights .page-hero,.about-page .page-hero,.page-contact .page-hero){padding-block-start:clamp(28px,5vw,56px)}
.properties-page .page-header,.property-guide,.landing-hero,.blog-hero{padding-block-start:clamp(28px,5vw,64px)}
.article-main{padding-block-start:clamp(28px,5vw,56px)!important}
main>.pp-wrap{padding-block-start:clamp(24px,4vw,48px)}
.landing-sticky-bar{display:none}
:is(#landingFormSection,#contact-form,#main){scroll-margin-block-start:12px}

/* Floating WhatsApp button moves to the inline-end corner; the accessibility widget owns inline-start. */
html .whatsapp-float{inset-inline-start:auto;inset-inline-end:16px;inset-block-end:16px}

/* Legacy landing pages: the privacy link inside the consent label is underlined and uses the brass-ink token (5.89:1 on the white form card, contrast.test.js). */
html .form-checkbox-label a{color:var(--s-brass-ink);text-decoration:underline;text-underline-offset:2px}
