/* =========================================================
   Property Probe – base styles
   Light, trustworthy UI: navy text, brand green accent.
   ========================================================= */

:root {
  /* Brand */
  --navy: #122641;
  --navy-900: #0b1a2e;
  --navy-700: #1c3557;
  --tile: #080c12;
  --green: #10b981;          /* brand accent – fills, icons */
  --green-600: #0e9f6e;      /* logo wordmark on light */
  --green-700: #047857;      /* links / buttons on light (AA) */
  --green-50: #ecfdf5;
  --blue-700: #1d4ed8;       /* investors accent (AA on white) */
  --blue-50: #eff6ff;
  --amber: #f59e0b;          /* renters accent – fills */
  --amber-700: #b45309;      /* renters text on light (AA) */
  --amber-50: #fffbeb;

  /* Neutrals */
  --bg: #f7f9fc;
  --surface: #ffffff;
  --text: #122641;
  --text-muted: #475569;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;

  /* Type */
  --font-sans: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  /* Layout */
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(18, 38, 65, .06);
  --shadow: 0 1px 2px rgba(18, 38, 65, .06), 0 8px 24px rgba(18, 38, 65, .08);
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }

a { color: var(--green-700); text-underline-offset: .18em; }
a:hover { color: var(--navy); }

:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.4rem, 2.5vw, 1.75rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px; border-radius: 999px;
  font: inherit; font-weight: 600; font-size: .95rem; cursor: pointer;
  border: 1.5px solid transparent; text-decoration: none;
}
.btn--primary { background: var(--green-700); color: #fff; }
.btn--primary:hover { background: #065f46; color: #fff; }
.btn--secondary { background: var(--surface); color: var(--navy); border-color: var(--border-strong); }
.btn--secondary:hover { border-color: var(--navy); color: var(--navy); }
.btn--ghost { background: transparent; color: var(--navy); text-decoration: underline; text-underline-offset: .2em; }

.link-button {
  background: none; border: 0; padding: 0; font: inherit; color: inherit;
  text-decoration: underline; text-underline-offset: .18em; cursor: pointer;
}

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-word { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; color: var(--navy); line-height: 1; }
.brand-word span { color: var(--green-600); font-weight: 500; }
.brand--light .brand-word { color: #fff; }
.brand--light .brand-word span { color: var(--green); }
.logo-mark { flex: none; display: block; }

/* ---------- Header & navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }

.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-top { display: flex; align-items: center; }
.nav-link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  color: var(--navy); font-weight: 600; text-decoration: none; border-radius: var(--radius-sm);
}
.nav-link:hover { color: var(--green-700); }
.nav-link.is-current { color: var(--green-700); }
.nav-item--investors .nav-link.is-current { color: var(--blue-700); }
.nav-item--renters .nav-link.is-current { color: var(--amber-700); }

.nav-sub-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 44px; margin-left: -8px; padding: 0;
  background: none; border: 0; color: var(--text-muted); cursor: pointer; border-radius: var(--radius-sm);
}
.nav-sub-toggle svg { transition: transform .15s ease; }
.nav-item.is-open .nav-sub-toggle svg { transform: rotate(180deg); }

.nav-dropdown {
  display: none;
  position: absolute; top: calc(100% + 8px); left: 0; width: 380px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 16px;
}
.nav-item--investors .nav-dropdown { left: auto; right: -140px; }
.nav-item.is-open .nav-dropdown { display: block; }
@media (hover: hover) and (min-width: 961px) {
  .nav-item:hover .nav-dropdown { display: block; }
  .nav-item:hover .nav-sub-toggle svg { transform: rotate(180deg); }
  /* hover bridge so the menu doesn't close in the gap */
  .nav-dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
}
.nav-dropdown-intro { font-size: .9rem; color: var(--text-muted); margin: 0 4px 10px; }
.nav-dropdown ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.nav-dropdown a {
  display: grid; gap: 2px; padding: 10px 12px; border-radius: var(--radius-sm);
  text-decoration: none; color: var(--navy);
}
.nav-dropdown a strong { font-weight: 600; }
.nav-dropdown a span { font-size: .875rem; color: var(--text-muted); line-height: 1.4; }
.nav-dropdown a:hover { background: var(--bg); }
.nav-item--homebuyers .nav-dropdown { border-top: 3px solid var(--green); }
.nav-item--investors .nav-dropdown { border-top: 3px solid var(--blue-700); }
.nav-item--renters .nav-dropdown { border-top: 3px solid var(--amber); }

.nav-toggle { display: none; }

/* "Property report" button in the header */
.site-nav { margin-left: auto; }
.header-cta { flex: none; min-height: 40px; padding: 8px 16px; font-size: .9rem; }
.header-cta-short, .nav-label-short { display: none; }
@media (min-width: 961px) { .nav-link { white-space: nowrap; } }
@media (min-width: 961px) and (max-width: 1200px) {
  /* Smaller laptops: tighten the spacing so the logo, menu and button fit on one line */
  .header-inner { gap: 12px; }
  .nav-link { padding: 0 8px; }
}
@media (min-width: 961px) and (max-width: 1120px) {
  /* ...and below 1120px, use the short labels too */
  .header-cta-full, .nav-label-full { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .header-cta-short, .nav-label-short { display: inline; }
}

@media (max-width: 960px) {
  /* Phones/tablets: logo on the left, then [Property report] [menu] on the right */
  .header-inner { gap: 10px; }
  .header-cta { order: 2; margin-left: auto; }
  .nav-toggle { order: 3; }
}
@media (max-width: 400px) {
  /* Very narrow screens: shorten the label, but screen readers still hear "Property report" */
  .header-cta { padding-inline: 14px; }
  .header-cta-full { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .header-cta-short { display: inline; }
}
@media (max-width: 359px) {
  /* Smallest phones (320 px): shrink the wordmark so the menu button still fits */
  .header-inner { gap: 8px; }
  .brand { gap: 8px; }
  .brand-word { font-size: 1.12rem; }
  .header-cta { padding-inline: 12px; }
}

@media (max-width: 960px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; background: none; border: 1px solid var(--border); border-radius: var(--radius-sm);
    cursor: pointer; color: var(--navy);
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative;
    transition: transform .2s ease, opacity .2s ease;
  }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; }
  .nav-toggle-bars::after { top: 6px; }
  .nav-open .nav-toggle-bars { background: transparent; }
  .nav-open .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-open .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

  .site-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    padding: 8px var(--gutter) 20px;
  }
  .nav-open .site-nav { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { border-bottom: 1px solid var(--border); }
  .nav-top { justify-content: space-between; }
  .nav-link { padding: 0 4px; flex: 1; }
  .nav-sub-toggle { width: 44px; margin: 0; }
  .nav-dropdown, .nav-item--investors .nav-dropdown {
    position: static; width: auto; box-shadow: none; border: 0; border-radius: 0; padding: 0 0 12px;
  }
  .nav-dropdown-intro { display: none; }
}

/* ---------- Homepage ---------- */
.home-hero {
  background:
    radial-gradient(600px 300px at 15% 0%, rgba(16, 185, 129, .10), transparent 70%),
    radial-gradient(600px 300px at 85% 0%, rgba(29, 78, 216, .08), transparent 70%),
    var(--surface);
  border-bottom: 1px solid var(--border);
  padding: clamp(48px, 8vw, 96px) 0 clamp(48px, 7vw, 88px);
  text-align: center;
}
.home-hero h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); max-width: 18ch; margin-inline: auto; }
.br-wide { display: none; }
@media (min-width: 720px) { .br-wide { display: inline; } }

.eyebrow {
  display: inline-block; margin: 0 0 12px;
  font-family: var(--font-mono); font-size: .8rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green-700);
}
.eyebrow--center { display: block; }
.lead { font-size: clamp(1.1rem, 2vw, 1.25rem); color: var(--text-muted); max-width: 60ch; }
.lead--center { margin-inline: auto; }

.path-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
  margin-top: clamp(32px, 5vw, 48px); text-align: left;
}
@media (max-width: 960px) { .path-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

.path-card {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  padding: clamp(24px, 3.5vw, 36px); border-radius: 18px;
  background: var(--surface); border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm); text-decoration: none; color: var(--navy);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.path-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--navy); }
.path-card--homebuyers { border-top: 5px solid var(--green); }
.path-card--homebuyers:hover { border-color: var(--green); }
.path-card--investors { border-top: 5px solid var(--blue-700); }
.path-card--investors:hover { border-color: var(--blue-700); }
.path-card--renters { border-top: 5px solid var(--amber); }
.path-card--renters:hover { border-color: var(--amber); }

.path-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 14px; margin-bottom: 6px;
}
.path-card--homebuyers .path-icon { background: var(--green-50); color: var(--green-700); }
.path-card--investors .path-icon { background: var(--blue-50); color: var(--blue-700); }
.path-card--renters .path-icon { background: var(--amber-50); color: var(--amber-700); }
.path-kicker { font-family: var(--font-mono); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.path-title { font-size: clamp(1.6rem, 3vw, 2rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.path-desc { color: var(--text-muted); }
.path-links { font-size: .9rem; color: var(--navy-700); font-weight: 500; }
.path-cta { margin-top: auto; padding-top: 10px; font-weight: 700; }
.path-card--homebuyers .path-cta { color: var(--green-700); }
.path-card--investors .path-cta { color: var(--blue-700); }
.path-card--renters .path-cta { color: var(--amber-700); }

.home-band { padding: clamp(48px, 7vw, 80px) 0; }
.section-title { text-align: center; margin-bottom: 32px; }
.feature-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 960px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.feature h3 { margin-bottom: .35em; }
.feature p { margin: 0; color: var(--text-muted); font-size: .975rem; }
.home-check { max-width: 820px; margin: clamp(24px, 4vw, 36px) auto 0; text-align: left; }
.home-check .check-form { box-shadow: var(--shadow); }
.home-check-note { text-align: center; color: var(--text-muted); font-size: .9rem; margin: 12px 0 0; }
.home-paths-intro {
  margin: clamp(36px, 5vw, 56px) 0 0; font-family: var(--font-mono); font-size: .8rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted);
}
.home-paths-intro + .path-grid { margin-top: 16px; }

/* ---------- "Check a property" form (homepage, section and guide pages) ---------- */
.check-form {
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius); padding: 16px;
}
.check-form-row { display: grid; gap: 12px; }
@media (min-width: 640px) { .check-form-row { grid-template-columns: 1fr 1.4fr auto; align-items: end; } }
.check-field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--navy); }
.check-field input {
  width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; color: var(--text);
  background: var(--surface); border: 1.5px solid var(--border-strong); border-radius: var(--radius-sm);
}
.check-field input::placeholder { color: #64748b; }
.check-field input:focus-visible { outline: 3px solid var(--green); outline-offset: 1px; border-color: var(--green-700); }
.check-form .btn { min-height: 48px; }

.check-cta {
  margin: 0 0 clamp(28px, 4vw, 40px); padding: clamp(20px, 3vw, 28px);
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  border-left: 5px solid var(--green);
}
.check-cta--investors { border-left-color: var(--blue-700); }
.check-cta--renters { border-left-color: var(--amber); }
.check-cta h2 { margin: 0 0 .3em; font-size: clamp(1.3rem, 2.4vw, 1.6rem); }
.check-cta-kicker {
  margin: 0 0 8px; font-family: var(--font-mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green-700);
}
.check-cta--investors .check-cta-kicker { color: var(--blue-700); }
.check-cta--renters .check-cta-kicker { color: var(--amber-700); }
.check-cta--investors .btn--primary { background: var(--blue-700); }
.check-cta--investors .btn--primary:hover { background: #1e40af; }
.check-cta--renters .btn--primary { background: var(--amber-700); }
.check-cta--renters .btn--primary:hover { background: #92400e; }
.check-cta--investors .check-field input:focus-visible { outline-color: var(--blue-700); border-color: var(--blue-700); }
.check-cta--renters .check-field input:focus-visible { outline-color: var(--amber); border-color: var(--amber-700); }
.check-cta-text { color: var(--text-muted); margin: 0 0 16px; max-width: 68ch; }
.page-body .check-cta--after { margin: clamp(32px, 5vw, 48px) 0 0; }

.home-note { text-align: center; color: var(--text-muted); margin: 32px 0 0; font-size: .95rem; }

/* ---------- Inner pages ---------- */
.page-hero { background: var(--surface); border-bottom: 1px solid var(--border); padding: 28px 0 40px; }
.page-hero--homebuyers { box-shadow: inset 0 4px 0 var(--green); }
.page-hero--investors { box-shadow: inset 0 4px 0 var(--blue-700); }
.page-hero--investors .eyebrow { color: var(--blue-700); }
.page-hero--renters { box-shadow: inset 0 4px 0 var(--amber); }
.page-hero--renters .eyebrow { color: var(--amber-700); }
/* Tools used by every section (e.g. the property report): a bar in all three section colours */
.page-hero--tool {
  background-image: linear-gradient(90deg, var(--green) 0 33.33%, var(--amber) 33.33% 66.66%, var(--blue-700) 66.66% 100%);
  background-size: 100% 4px; background-repeat: no-repeat;
}
.page-hero h1 { max-width: 24ch; }

.breadcrumb ol { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .9rem; color: var(--text-muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--border-strong); }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--navy); }

.status-pill {
  display: inline-block; margin: 4px 0 0; padding: 4px 12px; border-radius: 999px;
  background: var(--green-50); color: var(--green-700); font-size: .85rem; font-weight: 600;
}

.page-body { padding-block: clamp(32px, 5vw, 56px); }

.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li { margin-bottom: .4em; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.prose th { background: var(--surface); font-weight: 600; }
.prose code { font-family: var(--font-mono); font-size: .875em; background: var(--surface); border: 1px solid var(--border); padding: 1px 6px; border-radius: 6px; }

.notice {
  background: #fffbeb; border: 1px solid #fde68a; color: #78350f;
  padding: 12px 16px; border-radius: var(--radius-sm); font-size: .95rem;
}

.card-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.link-card a {
  display: flex; flex-direction: column; height: 100%;
  padding: 24px; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  text-decoration: none; color: var(--navy);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.link-card a:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.link-card--homebuyers a { border-top: 4px solid var(--green); }
.link-card--investors a { border-top: 4px solid var(--blue-700); }
.link-card--renters a { border-top: 4px solid var(--amber); }
.link-card h2 { font-size: 1.3rem; }
.link-card p { color: var(--text-muted); font-size: .975rem; }
.link-card-cta { margin-top: auto; font-weight: 700; }
.link-card--homebuyers .link-card-cta { color: var(--green-700); }
.link-card--investors .link-card-cta { color: var(--blue-700); }
.link-card--renters .link-card-cta { color: var(--amber-700); }
.section-extra { margin-top: 40px; }

/* ---------- Data sources & attribution ---------- */
.source-list { display: grid; gap: 16px; margin: 24px 0; }
.source { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; }
.source h2 { font-size: 1.15rem; margin-bottom: .6em; }
.source dl { display: grid; grid-template-columns: 110px 1fr; gap: 6px 16px; margin: 0; font-size: .95rem; }
.source dt { color: var(--text-muted); font-weight: 600; }
.source dd { margin: 0; }
@media (max-width: 560px) { .source dl { grid-template-columns: 1fr; } .source dd { margin-bottom: 8px; } }

.attribution {
  max-width: 72ch; margin-top: 40px; padding: 18px 20px;
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface);
  font-size: .9rem; color: var(--text-muted);
}
.attribution h2 { font-size: 1rem; color: var(--navy); }
.attribution ul { margin: 0 0 8px; padding-left: 1.1em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #cbd5e1; margin-top: clamp(40px, 6vw, 72px); }
.site-footer a { color: #e2e8f0; text-decoration: none; }
.site-footer a:hover { color: var(--green); text-decoration: underline; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 32px;
  padding-block: 48px 32px;
}
@media (max-width: 960px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { margin-top: 14px; max-width: 34ch; color: #94a3b8; }
.footer-heading { font-size: .8rem; font-family: var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: #94a3b8; font-weight: 500; margin-bottom: 14px; }
.footer-heading a { color: #94a3b8; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-base { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 24px 32px; font-size: .875rem; color: #94a3b8; }
.footer-disclaimer { max-width: 80ch; }
.footer-legal { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-legal .link-button { color: #e2e8f0; text-decoration: none; }
.footer-legal .link-button:hover { color: var(--green); text-decoration: underline; }
.footer-copy { margin: 0; }
.footer-copy a { text-decoration: underline; }

/* ---------- Cookie consent ---------- */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80;
  display: flex; justify-content: center; pointer-events: none;
}
.consent[hidden] { display: none; }
.consent-inner {
  pointer-events: auto; width: 100%; max-width: 760px;
  background: var(--surface); color: var(--text); border: 1px solid var(--border);
  border-radius: 16px; box-shadow: 0 12px 40px rgba(11, 26, 46, .22); padding: 22px 24px;
}
.consent h2 { font-size: 1.15rem; margin-bottom: .4em; }
.consent p { font-size: .95rem; color: var(--text-muted); }
.consent-options fieldset { border: 0; margin: 0 0 12px; padding: 0; display: grid; gap: 10px; }
.consent-option { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.consent-option input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--green-700); flex: none; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.consent-actions [hidden] { display: none; }
@media (max-width: 560px) { .consent-actions .btn { flex: 1 1 100%; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
