@font-face{font-family:"Montserrat";font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/montserrat-latin-600-normal.woff2) format("woff2")}
@font-face{font-family:"Montserrat";font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/montserrat-latin-700-normal.woff2) format("woff2")}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/ibm-plex-sans-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:"IBM Plex Sans";font-style:italic;font-weight:400;font-display:swap;src:url(/assets/fonts/ibm-plex-sans-latin-400-italic.woff2) format("woff2")}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/ibm-plex-sans-latin-500-normal.woff2) format("woff2")}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/ibm-plex-sans-latin-600-normal.woff2) format("woff2")}
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/ibm-plex-mono-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/ibm-plex-mono-latin-500-normal.woff2) format("woff2")}
/* DBISS website — design system
   DBISS brand colours from the existing dbiss.uk site: violet #6059f7 and blue #6592fe
   (used as a gradient), near-black #171717 and text grey #3d3d3d. Button gradients are
   deepened slightly at the blue end so white text keeps WCAG AA contrast (4.5:1).
   RICS condition-rating colours are kept for data. */
:root {
  --ink: #171717;
  --ink-2: #3d3d3d;
  --muted: #666670;
  --paper: #ffffff;
  --paper-2: #f5f5f8;
  --paper-3: #ececf1;
  --line: #e2e2e9;
  --line-2: #c8c8d2;
  --brand: #6059f7;
  --brand-2: #6592fe;
  --brand-deep: #4a42e0;
  --brand-grad: linear-gradient(150deg, #6059f7 0%, #4a6beb 100%);
  --brand-grad-hover: linear-gradient(150deg, #4f47e8 0%, #3d5cd8 100%);
  --brand-deco: linear-gradient(90deg, #6059f7 0%, #6592fe 100%);
  --brand-soft: #efeefe;
  --brand-soft-2: #d9d6fd;
  --brand-ink: #ffffff;
  --brand-on-dark: #6592fe;
  --focus: #6059f7;
  --link: #4f47e0;
  --link-hover: #3730b8;
  --cr1: #2e7d46;
  --cr2: #c98412;
  --cr3: #bd3a2c;
  --crni: #7d8790;
  --ok: #2e7d46;
  --warn: #9a6100;
  --bad: #b3261e;
  --head-bg: rgba(255, 255, 255, .94);
  --hero-wash: radial-gradient(1100px 420px at 100% -10%, rgba(96, 89, 247, .13), transparent 70%), radial-gradient(900px 380px at -10% 110%, rgba(101, 146, 254, .10), transparent 70%);
  --foot-bg: #171717;
  --inv-bg: #171717;
  --inv-ink: #ffffff;
  --inv-muted: rgba(255, 255, 255, .8);
  --inv-link: #9db2ff;
  --foot-ink: #ececec;
  --foot-muted: #a2a2a2;
  --cell-empty: #ececf1;
  --cell-line: #ffffff;
  --shadow: 0 1px 2px rgba(23, 23, 23, .06), 0 10px 30px -12px rgba(40, 33, 120, .20);
  --radius: 10px;
  --radius-s: 6px;
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --font-head: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --step--1: .875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.5625rem;
  --step-3: clamp(1.75rem, 1.35rem + 1.6vw, 2.35rem);
  --step-4: clamp(2.05rem, 1.45rem + 2.6vw, 3.15rem);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #ececec; --ink-2: #c8c8d0; --muted: #a2a2aa; --paper: #121214; --paper-2: #1a1a1f; --paper-3: #232329;
    --line: #2c2c34; --line-2: #3c3c46; --brand-soft: #232048; --brand-soft-2: #3a3580; --focus: #8c87ff;
    --link: #9db2ff; --link-hover: #c3d0ff; --brand-on-dark: #6592fe;
    --cr1: #5fb57a; --cr2: #e3a94a; --cr3: #e26d5f; --crni: #9aa4ad; --ok: #5fb57a; --warn: #e3a94a; --bad: #ef7d70;
    --head-bg: rgba(18, 18, 20, .94); --foot-bg: #0c0c0e; --inv-bg: #1f1d3a; --cell-empty: #232329; --cell-line: #121214;
    --hero-wash: radial-gradient(1100px 420px at 100% -10%, rgba(96, 89, 247, .22), transparent 70%), radial-gradient(900px 380px at -10% 110%, rgba(101, 146, 254, .12), transparent 70%);
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 30px -12px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ink: #ececec; --ink-2: #c8c8d0; --muted: #a2a2aa; --paper: #121214; --paper-2: #1a1a1f; --paper-3: #232329;
  --line: #2c2c34; --line-2: #3c3c46; --brand-soft: #232048; --brand-soft-2: #3a3580; --focus: #8c87ff;
  --link: #9db2ff; --link-hover: #c3d0ff; --brand-on-dark: #6592fe;
  --cr1: #5fb57a; --cr2: #e3a94a; --cr3: #e26d5f; --crni: #9aa4ad; --ok: #5fb57a; --warn: #e3a94a; --bad: #ef7d70;
  --head-bg: rgba(18, 18, 20, .94); --foot-bg: #0c0c0e; --inv-bg: #1f1d3a; --cell-empty: #232329; --cell-line: #121214;
  --hero-wash: radial-gradient(1100px 420px at 100% -10%, rgba(96, 89, 247, .22), transparent 70%), radial-gradient(900px 380px at -10% 110%, rgba(101, 146, 254, .12), transparent 70%);
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 30px -12px rgba(0, 0, 0, .6);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--step-0)/1.62 var(--font-body); font-feature-settings: "kern"; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--link-hover); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 3px; }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.18; text-wrap: balance; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: var(--step-4); font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: var(--step-3); font-weight: 700; }
h3 { font-size: var(--step-1); font-weight: 600; }
p { margin: 0 0 1em; }
.small { font-size: var(--step--1); color: var(--muted); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brand-deep); color: var(--brand-ink); padding: 8px 14px; z-index: 50; border-radius: var(--radius-s); }
.skip:focus { left: 8px; }
.ico { display: inline-flex; width: 1.1em; height: 1.1em; }
.ico svg { width: 100%; height: 100%; fill: currentColor; }

/* brand strip (the violet-to-blue gradient of dbiss.uk) */
.brand-strip { height: 4px; background: var(--brand-deco); }

/* buttons */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: .6em 1.15em; border-radius: var(--radius-s);
  font: 600 1rem/1.2 var(--font-body); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .15s, border-color .15s, transform .05s; }
.btn:active { transform: translateY(1px); }
.btn-brand { background: var(--brand-grad); color: var(--brand-ink); border-color: transparent; box-shadow: 0 6px 16px -8px rgba(74, 66, 224, .65); }
.btn-brand:hover { background: var(--brand-grad-hover); color: var(--brand-ink); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-line:hover { border-color: var(--ink); color: var(--ink); }
.btn .ico { width: 1.05em; height: 1.05em; }

/* header */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: var(--head-bg); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo-mark { width: 38px; height: 32px; fill: var(--brand); flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font: 600 1.55rem/1 var(--font-head); letter-spacing: -.01em; }
.brand-sub { font-size: .72rem; color: var(--muted); letter-spacing: .02em; margin-top: 3px; white-space: nowrap; }
.site-nav ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.site-nav a { display: block; white-space: nowrap; padding: 8px 10px; border-radius: var(--radius-s); color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .98rem; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--ink); background: var(--paper-2); }
.site-nav a[aria-current] { box-shadow: inset 0 -3px 0 var(--brand); }
.head-cta { flex: none; margin-left: auto; display: flex; align-items: center; gap: 12px; }
.head-phone { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); text-decoration: none; font: 500 1rem var(--font-mono); white-space: nowrap; }
.nav-toggle { display: none; margin-left: auto; align-items: center; gap: 6px; background: none; border: 1px solid var(--line-2); color: var(--ink); border-radius: var(--radius-s); padding: 8px 12px; font: 500 .95rem var(--font-body); }
.nav-toggle .ico { width: 20px; height: 20px; }
@media (max-width: 1320px) { .site-head .brand-sub { display: none; } }
@media (max-width: 1250px) { .head-phone span { display: none; } }
@media (max-width: 1040px) { .site-nav a { padding: 8px 7px; font-size: .94rem; } }
@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .head-cta { display: none; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; padding: 8px var(--gutter) 16px; }
  .site-nav a { padding: 12px 8px; font-size: 1.05rem; }
}
.notice { background: var(--brand-soft); color: var(--ink); text-align: center; padding: 8px var(--gutter); font-size: var(--step--1); border-bottom: 1px solid var(--line); }

/* mobile action bar */
.mbar { display: none; }
@media (max-width: 720px) {
  .mbar { display: grid; grid-template-columns: 1fr 1.6fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--paper); border-top: 1px solid var(--line);
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px)); gap: 8px; box-shadow: 0 -6px 20px -12px rgba(0,0,0,.3); }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; border-radius: var(--radius-s); font-weight: 600; text-decoration: none; }
  .mbar-call { border: 2px solid var(--line-2); color: var(--ink); }
  .mbar-quote { background: var(--brand-grad); color: var(--brand-ink); }
  body { padding-bottom: 72px; }
}

/* page hero */
.page-hero { background: var(--hero-wash), var(--paper-2); border-bottom: 1px solid var(--line); padding-block: 28px 36px; }
.page-hero h1 { max-width: 22ch; }
.lede { font-size: var(--step-1); color: var(--ink-2); max-width: 62ch; line-height: 1.5; }
.eyebrow { font: 500 .8rem/1.3 var(--font-mono); text-transform: uppercase; letter-spacing: .09em; color: var(--muted); margin-bottom: .8em; }
.eyebrow::before { content: ""; display: inline-block; width: 18px; height: 6px; margin-right: 8px; vertical-align: 2px; background: var(--brand-deco); border-radius: 3px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 40px; align-items: start; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; gap: 20px; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.hero-price { font: 500 var(--step-1)/1.3 var(--font-body); }
.hero-price .price { font: 600 1.6rem/1 var(--font-mono); background: var(--brand-soft); padding: 2px 8px; border-radius: 4px; margin-right: 6px; }
.crumbs ol { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: var(--step--1); color: var(--muted); }
.crumbs li + li::before { content: "/"; margin: 0 8px; color: var(--line-2); }
.crumbs a { color: var(--muted); }
.keyfacts { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.keyfacts div { display: grid; grid-template-columns: 8.5em 1fr; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); }
.keyfacts div:first-child { border-top: 0; }
.keyfacts dt { font: 500 .78rem/1.5 var(--font-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding-top: 2px; }
.keyfacts dd { margin: 0; }

/* prose */
.prose-wrap { padding-block: 36px 56px; display: grid; gap: 36px; }
.prose { max-width: 72ch; }
.prose-wrap.wide .prose { max-width: none; }
.prose-wrap.wide .prose > p, .prose-wrap.wide .prose > ul, .prose-wrap.wide .prose > ol, .prose-wrap.wide .prose > h2, .prose-wrap.wide .prose > h3 { max-width: 72ch; }
.prose h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.95rem); margin-top: 1.6em; padding-top: .2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--muted); }
.prose blockquote { margin: 1.4em 0; padding: 14px 18px; border-left: 4px solid var(--brand); background: var(--paper-2); border-radius: 0 var(--radius-s) var(--radius-s) 0; }
.prose blockquote p:last-child { margin: 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose code { font-family: var(--font-mono); font-size: .92em; }
.updated { margin-top: 2em; }
.table-wrap { overflow-x: auto; margin: 0 0 1.2em; border: 1px solid var(--line); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; font-size: .98rem; }
th, td { text-align: left; padding: 10px 14px; border-top: 1px solid var(--line); vertical-align: top; }
thead th { border-top: 0; background: var(--paper-2); font: 600 .8rem/1.4 var(--font-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); }
tbody th { font-weight: 500; }
table.prices td, table.prices tbody th { font-variant-numeric: tabular-nums; }
table.prices td { font-family: var(--font-mono); white-space: nowrap; }
table.prices td.tot { font-weight: 600; }
table.compare td, table.compare th { min-width: 150px; }
table.compare tbody th { width: 9em; min-width: 7em; color: var(--ink-2); }

/* price span */
.price { font-family: var(--font-mono); font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-note { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 1.2em; }
.price-big .price { font-size: 1.5rem; font-weight: 600; }
.tag { display: inline-block; margin-left: 8px; font: 500 .72rem/1 var(--font-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink); background: var(--brand-soft); border: 1px solid var(--brand-soft-2); border-radius: 3px; padding: 4px 6px; vertical-align: 2px; }

/* cards */
.cards { list-style: none; margin: 0 0 1.4em; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 16px; display: flex; flex-direction: column; }
.card h3 { font-size: 1.08rem; margin-bottom: .45em; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }
.card p { margin-bottom: .6em; }
.card:hover { border-color: var(--line-2); }
.card-price { margin-top: auto !important; margin-bottom: 0 !important; padding-top: 10px; border-top: 1px dashed var(--line); }
.card-price .price { font-size: 1.05rem; font-weight: 600; }

/* steps */
.steps { list-style: none; margin: 0 0 1.4em; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); counter-reset: s; }
.steps li { position: relative; padding: 16px 16px 14px; border-top: 3px solid var(--ink); background: var(--paper-2); border-radius: 0 0 var(--radius-s) var(--radius-s); }
.steps h3 { font-size: 1.02rem; margin: 8px 0 6px; }
.steps p { font-size: .95rem; color: var(--ink-2); margin: 0; }
.step-n { font: 600 .85rem/1 var(--font-mono); background: var(--brand); color: var(--brand-ink); border-radius: 3px; padding: 4px 7px; }

/* trust */
.trust { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.trust li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); min-height: 72px; }
.trust img { width: 112px; height: auto; flex: none; background: #fff; border-radius: 4px; padding: 2px; }
.trust strong { font: 600 1.35rem/1 var(--font-mono); white-space: nowrap; }
.trust span { font-size: .92rem; color: var(--ink-2); line-height: 1.3; }

/* CTA band */
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; margin: 2em 0 1em; padding: 24px 26px; border-radius: var(--radius);
  background: var(--inv-bg); color: var(--inv-ink); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: linear-gradient(180deg, #6059f7 0%, #6592fe 100%); }
.cta-band h2 { color: var(--inv-ink); font-size: var(--step-2); margin-bottom: .3em; }
.cta-band p { margin: 0; color: var(--inv-muted); max-width: 56ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-band .btn-line { color: var(--inv-ink); border-color: rgba(255, 255, 255, .45); }
.cta-band .btn-line:hover { border-color: var(--inv-ink); color: var(--inv-ink); }

/* calculator */
.calc { background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); margin-bottom: 1.4em; }
.calc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; border-bottom: 1px solid var(--line); margin: -4px -4px 14px; padding: 0 4px 10px; }
.calc-head p { margin: 0; }
.calc-title { font-size: 1.15rem; margin: 0; }
.field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; min-width: 0; }
.field label, fieldset legend { font-weight: 600; font-size: .95rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
input, select, textarea { font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line-2); border-radius: var(--radius-s); padding: 10px 12px; min-height: 46px; width: 100%; }
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); outline: 3px solid color-mix(in srgb, var(--brand) 35%, transparent); outline-offset: 0; }
input[aria-invalid="true"], textarea[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--bad); }
.money { position: relative; }
.money span { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); font-family: var(--font-mono); }
.money input { padding-left: 28px; font-family: var(--font-mono); }
.hint { font-size: .85rem; color: var(--muted); margin: 0; min-height: 1.2em; }
.opt { font-weight: 400; color: var(--muted); font-size: .85rem; }
fieldset { border: 0; padding: 0; margin: 0 0 12px; }
.form fieldset { border-top: 1px solid var(--line); padding-top: 12px; margin-bottom: 16px; }
.form fieldset legend { padding: 0 6px 0 0; margin-bottom: 8px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.chk { display: flex; align-items: flex-start; gap: 10px; font-size: .95rem; margin-bottom: 10px; cursor: pointer; }
.chk input { width: 20px; height: 20px; min-height: 0; margin: 2px 0 0; flex: none; accent-color: var(--ink); }
.chk[hidden] { display: none !important; }
.quote { border: 1px dashed var(--line-2); border-radius: var(--radius-s); padding: 12px 14px; margin: 6px 0 14px; background: var(--paper-2); }
.quote-empty { margin: 0; color: var(--muted); }
.q-lines { list-style: none; margin: 0 0 8px; padding: 0; }
.q-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.q-lines li span:last-child { font-family: var(--font-mono); white-space: nowrap; }
.q-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 6px 0 0; font-weight: 600; }
.q-total .price { font-size: 1.7rem; font-weight: 600; }
.q-notes { margin: 8px 0 0; padding-left: 1.1em; font-size: .88rem; color: var(--ink-2); }
.q-notes li { margin-bottom: 3px; }
.q-drone { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 500; padding: 3px 8px; border-radius: 99px; margin-top: 4px; }
.q-drone .ico { width: 1em; height: 1em; }
.q-drone.green { color: var(--cr1); background: color-mix(in srgb, var(--cr1) 12%, transparent); }
.q-drone.amber { color: var(--warn); background: color-mix(in srgb, var(--cr2) 15%, transparent); }
.q-drone.red { color: var(--cr3); background: color-mix(in srgb, var(--cr3) 12%, transparent); }
.calc-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.calc-actions .btn { flex: 1 1 auto; }
.calc-compact { padding: 18px; }

/* forms */
.form { max-width: 720px; }
.form h2 { font-size: var(--step-2); }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.form-msg { margin-top: 10px; font-weight: 500; }
.form-msg.err { color: var(--bad); }
.form-msg.ok { color: var(--ok); }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.turnstile:empty { display: none; }
.turnstile { margin: 8px 0; }

/* booking */
.book-steps { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0 0 18px; counter-reset: b; flex-wrap: wrap; }
.book-steps li { counter-increment: b; font: 500 .85rem/1 var(--font-mono); padding: 8px 12px; border-radius: 99px; background: var(--paper-2); color: var(--muted); }
.book-steps li::before { content: counter(b) ". "; }
.book-steps li.on { background: var(--ink); color: var(--paper); }
.book-steps li.done { background: var(--brand-soft); color: var(--ink); }
.book-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; align-items: start; }
@media (max-width: 860px) { .book-grid { grid-template-columns: 1fr; } }
.book-side { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: var(--paper-2); }
.book-side h2 { font-size: 1.15rem; }
.ticks { list-style: none; margin: 0 0 12px; padding: 0; }
.ticks li { display: flex; gap: 8px; align-items: flex-start; padding: 5px 0; }
.ticks .ico { color: var(--cr1); margin-top: 3px; }
.done { border: 1px solid var(--line); border-left: 6px solid var(--cr1); border-radius: var(--radius); padding: 20px 22px; }
.done h2 { font-size: var(--step-2); }
.next { padding-left: 1.2em; }

/* faqs */
.faqs { max-width: 76ch; }
.faqs h2, .faq-group h2 { font-size: var(--step-2); }
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary { cursor: pointer; padding: 14px 32px 14px 0; font-weight: 600; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font: 500 1.3rem/1 var(--font-mono); color: var(--muted); }
details[open] summary::after { content: "–"; }
details p { margin: 0 0 16px; color: var(--ink-2); max-width: 68ch; }
.faq-group { margin-bottom: 2em; max-width: 76ch; }
.related h2 { font-size: 1rem; font-family: var(--font-mono); font-weight: 500; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.related ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.related a { display: inline-block; padding: 8px 12px; border: 1px solid var(--line); border-radius: 99px; text-decoration: none; color: var(--ink); font-size: .95rem; }
.related a:hover { border-color: var(--ink); }

/* stats (area pages) */
.stats { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin: 1.5em 0; background: var(--paper-2); }
.stats h2 { font-size: var(--step-1); margin-top: 0; }
.stats h3 { font: 500 .78rem/1.3 var(--font-mono); text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin: 14px 0 8px; }
.stats-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; }
@media (max-width: 640px) { .stats-grid { grid-template-columns: 1fr; } }
.bars { list-style: none; margin: 0; padding: 0; }
.bars li { display: grid; grid-template-columns: 7.5em 1fr 3em; align-items: center; gap: 8px; font-size: .88rem; padding: 3px 0; }
.bar-l { font-family: var(--font-mono); color: var(--ink-2); }
.bar { height: 10px; background: var(--paper-3); border-radius: 99px; overflow: hidden; }
.bar-f { display: block; height: 100%; width: var(--w); background: var(--c); border-radius: 99px; }
.bar-v { font-family: var(--font-mono); text-align: right; }
.top { list-style: none; padding: 0; margin: 0; }
.top li { padding: 3px 0; }
.top strong { font-family: var(--font-mono); display: inline-block; min-width: 3em; }
.nsc-stat { display: flex; align-items: baseline; gap: 10px; border-left: 4px solid var(--brand); padding: 6px 0 6px 14px; margin: .6em 0 1.2em; }
.nsc-stat strong { font: 600 2rem/1 var(--font-mono); }
.nsc-stat span { color: var(--ink-2); }

/* map */
.mapw { margin: 1.4em 0 2em; }
.map-tools { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.map-tools button { font: 500 .9rem var(--font-body); padding: 8px 12px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--paper); color: var(--ink); cursor: pointer; min-height: 40px; }
.map-tools button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.map-body { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 860px) { .map-body { grid-template-columns: 1fr; } }
.map-frame { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.cmap { display: block; width: 100%; height: auto; }
.cmap .d { fill: var(--cell-empty); stroke: var(--cell-line); stroke-width: .7; }
.cmap .d.has { cursor: pointer; transition: opacity .15s; }
.cmap .d.has:hover { opacity: .8; }
.cmap .d.sel { stroke: var(--ink); stroke-width: 2.2; }
.cmap .lbl { font: 600 11px var(--font-body); fill: var(--ink); text-anchor: middle; paint-order: stroke; stroke: var(--paper); stroke-width: 3px; stroke-linejoin: round; pointer-events: none; }
.cmap .base circle { fill: var(--brand); stroke: var(--paper); stroke-width: 2; }
.map-panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; background: var(--paper-2); font-size: .95rem; }
.map-panel h3 { font-size: 1rem; }
.legend { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 4px; }
.legend li { display: flex; align-items: center; gap: 8px; font-size: .88rem; }
.sw { width: 14px; height: 14px; border-radius: 3px; background: var(--c); flex: none; border: 1px solid rgba(0,0,0,.12); }
.map-detail { border-top: 1px solid var(--line); padding-top: 12px; }
.map-detail h4 { font: 600 1.05rem var(--font-head); margin: 0 0 6px; }
.map-detail dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 0 0 8px; font-size: .9rem; }
.map-detail dt { color: var(--muted); }
.map-detail dd { margin: 0; }
.map-note { margin-top: 8px; }
.map-teaser { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.map-teaser .cmap .d.has { cursor: default; }

/* home */
.home-hero { padding-block: 36px 40px; background: var(--hero-wash), var(--paper-2); border-bottom: 1px solid var(--line); }
.home-hero h1 { font-size: var(--step-4); max-width: 17ch; }
.home-hero .lede { max-width: 54ch; }
.hero-points { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; }
.hero-points .ico { color: var(--cr1); margin-top: 4px; flex: none; }
.band { padding-block: 48px; }
.band-alt { background: var(--paper-2); border-block: 1px solid var(--line); }
.band-ink { background: var(--inv-bg); color: var(--inv-ink); }
.band-ink .eyebrow { color: var(--inv-muted); }
.band-ink h2, .band-ink h3 { color: var(--inv-ink); }
.band-ink p { color: var(--inv-muted); }
.band-ink a:not(.btn) { color: var(--inv-link); }
.band-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 10px 24px; margin-bottom: 22px; }
.band-head h2 { margin: 0; max-width: 24ch; }
.band-head p { margin: 0; max-width: 56ch; color: var(--ink-2); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.split-mid { align-items: center; }
.split-wide { grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.facts-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 12px; margin: 18px 0; }
.fact { border-top: 3px solid var(--brand-2); padding-top: 10px; }
.fact strong { display: block; font: 600 1.9rem/1.1 var(--font-mono); }
.fact span { font-size: .92rem; color: var(--ink-2); }
.band-ink .fact span { color: var(--inv-muted); }
.rating { display: inline-grid; grid-template-columns: repeat(4, auto); gap: 6px; margin: 4px 0 12px; }
.cr { font: 600 .8rem/1 var(--font-mono); padding: 6px 8px; border-radius: 4px; color: #fff; }
.cr-1 { background: var(--cr1); } .cr-2 { background: var(--cr2); } .cr-3 { background: var(--cr3); } .cr-ni { background: var(--crni); }
.review-sum { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 1.2em; }
.review-sum .big { font: 600 2.2rem/1 var(--font-mono); margin: 0; }
.review-sum .big span { font-size: 1rem; color: var(--muted); }
.review-sum p { margin: 0; }
.reviews { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.reviews blockquote { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; background: var(--paper); }

/* footer */
.site-foot { background: var(--foot-bg); color: var(--foot-ink); margin-top: 0; padding-top: 44px; }
.site-foot a { color: var(--foot-ink); }
.foot-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 28px; padding-bottom: 28px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.site-foot h2 { font: 500 .78rem/1.3 var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--foot-muted); margin-bottom: 12px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin-bottom: 7px; }
.site-foot li a { text-decoration: none; }
.site-foot li a:hover { text-decoration: underline; }
.site-foot .small { color: var(--foot-muted); }
.brand-inv { color: var(--foot-ink); margin-bottom: 14px; }
.brand-inv .logo-mark { fill: #ffffff; }
.brand-inv .brand-sub { color: var(--foot-muted); }
.rics-logo { width: 150px; margin-top: 6px; }
.foot-legal { border-top: 1px solid rgba(255, 255, 255, .12); padding-block: 18px 26px; font-size: .84rem; color: var(--foot-muted); }
.foot-legal p { margin: 0 0 6px; max-width: 110ch; }

/* preview-only chrome */
.pv-bar { background: #171717; color: #ececec; font: 500 .8rem/1.4 var(--font-mono); padding: 6px var(--gutter); text-align: center; }
.pv-bar a { color: var(--inv-link); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-head, .mbar, .site-foot, .cta-band, .calc-actions { display: none !important; } }

.teaser-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 10px 0 0; padding: 0; font-size: .82rem; }
.teaser-legend li { display: flex; align-items: center; gap: 6px; }
.band-ink .teaser-legend { color: var(--inv-muted); }

/* page aside (service and guide pages) */
.prose-wrap.has-aside { grid-template-columns: minmax(0, 1fr) 290px; column-gap: 48px; }
.prose-wrap.has-aside > :not(.page-aside) { grid-column: 1; }
.page-aside { grid-column: 2; grid-row: 1 / span 3; align-self: start; position: sticky; top: calc(90px + env(safe-area-inset-top, 0px)); display: grid; gap: 16px; }
.aside-cta { border: 1px solid var(--line-2); border-radius: var(--radius); padding: 16px; display: grid; gap: 8px; background: var(--paper); box-shadow: var(--shadow); }
.aside-cta .small { margin: 0; }
.aside-price { margin: 0; }
.aside-price .price { font-size: 1.5rem; font-weight: 600; }
.aside-price-t { font-weight: 600; margin: 0; }
.aside-tel { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-family: var(--font-mono); color: var(--ink); text-decoration: none; padding: 6px; }
.toc h2 { font: 500 .78rem/1.3 var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 8px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc li a { display: block; padding: 5px 0 5px 12px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-2); text-decoration: none; font-size: .93rem; line-height: 1.35; }
.toc li a:hover { color: var(--ink); border-left-color: var(--brand); }
@media (max-width: 1000px) { .prose-wrap.has-aside { grid-template-columns: 1fr; } .page-aside { display: none; } }
.prose-wrap.wide .calc { max-width: 780px; }

.prose :is(ul, ol):is(.bars, .top, .cards, .steps, .trust, .legend, .q-lines, .q-notes, .ticks, .teaser-legend, .hero-points, .book-steps) { padding-left: 0; }
.prose :is(.bars, .top, .legend, .q-lines, .ticks) li { margin-bottom: 0; }
.aside-list { list-style: none; margin: 0; padding: 0; }
.aside-list li a { display: block; padding: 5px 0; font-size: .95rem; }

.prose .calc-title, .calc-title { font-size: 1.15rem; margin: 0; padding: 0; }
.prose .form h2, .prose .book-side h2, .prose .done h2 { margin-top: 0; }

.card-typ { display: block; margin-top: 4px; color: var(--muted); }
.card-typ .price { font-size: .9rem; font-weight: 500; }

/* progress tracker and email preferences */
.track { max-width: 720px; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; background: var(--paper); box-shadow: var(--shadow); }
.track h2 { font-size: var(--step-2); margin-top: 0; }
.track-msg p:last-child { margin-bottom: 0; }
.track-steps { list-style: none; margin: 18px 0; padding: 0; position: relative; }
.track-steps li { position: relative; display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: baseline; padding: 8px 0 14px; }
.track-steps li::before { content: ""; position: absolute; left: 10px; top: 24px; bottom: -6px; width: 2px; background: var(--line); }
.track-steps li:last-child::before { display: none; }
.track-steps .dot { width: 14px; height: 14px; margin: 3px 4px 0; border-radius: 50%; border: 2px solid var(--line-2); background: var(--paper); position: relative; z-index: 1; }
.track-steps li.done .dot { background: var(--brand); border-color: var(--brand); }
.track-steps li.now .dot { border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 22%, transparent); }
.track-steps li.done::before { background: var(--brand); }
.track-steps .t { font-weight: 600; }
.track-steps li:not(.done):not(.now) .t { color: var(--muted); font-weight: 500; }
.track-steps .d { font: 500 .88rem var(--font-mono); color: var(--ink-2); white-space: nowrap; }
.track-next { background: var(--brand-soft); border-radius: var(--radius-s); padding: 12px 16px; margin: 6px 0 14px; }
.track-next h3 { font-size: 1rem; margin: 0 0 4px; }
.track-next p { margin: 0; }
.track .form { margin-top: 10px; }
@media (max-width: 520px) { .track { padding: 18px 16px; } .track-steps li { grid-template-columns: 22px 1fr; } .track-steps .d { grid-column: 2; } }

/* staging build only (node build.mjs --staging) */
.staging-bar { background: var(--inv-bg); color: var(--inv-ink); font-size: .85rem; line-height: 1.4; text-align: center; padding: 7px 16px; border-bottom: 3px solid var(--brand); }
.staging-bar strong { color: var(--inv-ink); }
