/* Building Trust final geometry and page-end rhythm, 22 August 2026. */

:root {
  --radius-card: 2px;
  --radius-frame: 2px;
  --radius-control: 4px;
  --radius-feature: 2px;
}
.bt-role-context{display:flex;align-items:center;justify-content:space-between;gap:24px;max-width:1180px;box-sizing:border-box;margin:24px auto;padding:20px 24px;border-left:5px solid #0f7b6c;background:#e5f7f4;color:#14233c}.bt-role-context span{display:block;font-size:.72rem;font-weight:800;letter-spacing:.05em;color:#2868c7;text-transform:uppercase}.bt-role-context strong{display:block;margin-top:5px;color:#0b1d3a;font-size:1.1rem}.bt-role-context p{margin:5px 0 0;color:#58677d;line-height:1.5}.bt-role-context a{min-height:44px;display:inline-flex;align-items:center;font-weight:800;color:#0f7b6c}@media(max-width:620px){.bt-role-context{align-items:flex-start;flex-direction:column;margin:16px 18px}}

@media (max-width: 720px) {
  body:has(.access-hero) .bt-site-guide {
    display: none;
  }
}

/* Remove inherited decorative rounding from the compiled page system. */
html * {
  border-radius: 2px;
}

/* Structural surfaces use the sharper geometry requested for the final site. */
.bt-public-header,
.page-jump,
.rp-related,
.bt-site-guide-panel,
.engagement-digest-frame-shell,
.record-check-hero figure,
.estate-map-hero figure,
.fix-library-hero figure,
.record-check-output,
.estate-map-output,
.record-check-next,
.estate-map-next,
.fix-library-boundary,
.evidence-hero aside,
.evidence-register > article,
.evidence-types {
  border-radius: 2px;
}

/* Controls remain easy to identify without looking pill-like. */
.bt-public-login,
.bt-public-cta,
.bt-public-mobile-cta,
.bt-public-mobile-nav summary,
.bt-public-mobile-nav nav,
.page-jump a,
.page-jump-select,
.hp-button,
.hp-nav-cta,
.engagement-share-actions button,
.engagement-share-actions a,
.engagement-digest-open,
.engagement-digest-form input,
.engagement-digest-form select,
.engagement-digest-form button,
.bt-site-guide-launcher,
.bt-site-guide-panel > header button,
.bt-guide-message,
.bt-guide-lease-iq-cta,
.bt-guide-suggestions button,
.bt-guide-message nav a,
.bt-guide-handoff-offer,
.bt-site-guide-quick button,
.bt-site-guide-question-form input,
.bt-site-guide-question-form button,
.bt-guide-handoff-form,
.bt-guide-handoff-form > input:not([type="checkbox"]),
.bt-guide-handoff-form > textarea,
.bt-guide-handoff-actions button,
.bt-guide-handoff-error button {
  border-radius: 4px;
}

.engagement-digest-form-shell {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  max-width: 560px;
  margin-top: 18px;
  padding: 20px;
}

.engagement-digest-form {
  display: grid;
  gap: 8px;
}

.engagement-digest-form > label:not(.digest-consent) {
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
}

.engagement-digest-form input[type="email"],
.engagement-digest-form select {
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: #ffffff;
  width: 100%;
  min-height: 46px;
  color: #0b1d3a;
  padding: 10px 12px;
  font: 15px/1.4 Inter, Arial, sans-serif;
}

.engagement-digest-form input:focus-visible,
.engagement-digest-form select:focus-visible,
.engagement-digest-form button:focus-visible {
  outline: 3px solid #86d4c8;
  outline-offset: 2px;
}

.engagement-digest-form .digest-consent {
  color: #d6e0eb;
  align-items: flex-start;
  gap: 10px;
  margin: 8px 0;
  font-size: 12px;
  line-height: 1.5;
  display: flex;
}

.engagement-digest-form .digest-consent input {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
}

.engagement-digest-form button {
  border: 0;
  background: #ffffff;
  min-height: 46px;
  color: #0b1d3a;
  cursor: pointer;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 850;
}

.engagement-digest-form button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.engagement-digest-form-status {
  min-height: 20px;
  color: #ffffff;
  margin: 12px 0 0;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.5;
}

.digest-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

/* Pills and genuinely circular indicators keep their semantic shape. */
.proof-status,
.updates-meta span,
.hp-page .hp-tag-row i,
.control-header nav span,
.route-tier,
.route-status,
.route-protected,
.route-source,
.route-source-missing,
.status-dot,
.tag-row i,
.architecture-header nav span,
.architecture-layer-grid code,
.architecture-audience-list b,
.budget-category-bars i,
.page-jump-progress,
.control-score-track {
  border-radius: 999px;
}

.decision-scatter-visual b,
.option-kicker span,
.legal-grid li > span {
  border-radius: 50%;
}

/* Give the final content block a deliberate pause before the digest and footer. */
main + .engagement-band {
  margin-top: 64px;
}

@media (max-width: 720px) {
  main + .engagement-band {
    margin-top: 40px;
  }

  /* Keep the mobile guide as the approved compact Ask plus logo button. */
  .bt-site-guide-launcher {
    width: auto;
    min-width: 0;
    height: 46px;
    min-height: 46px;
    gap: 8px;
    padding: 0 11px 0 13px;
    border-radius: 4px;
    box-shadow: none;
  }

  .bt-site-guide-launcher-label {
    clip: auto;
    white-space: normal;
    width: auto;
    height: auto;
    margin: 0;
    position: static;
    overflow: visible;
  }

  .bt-site-guide-launcher-logo {
    width: 50px !important;
    height: 22px !important;
  }

  .engagement-digest-form-shell {
    max-width: none;
    padding: 16px;
  }
}

/* Final art direction and compact interest-page header. */
.tool-library-hero figure {
  background: #bee2ee;
}

.tool-library-hero figcaption,
.aud-hero-image figcaption {
  display: none !important;
}

.aud-hero-leaseholder { background: #a6ceff !important; }
.aud-hero-buying { background: #92b7bf !important; }
.aud-hero-product { background: #5b6376 !important; }
.aud-hero-resident { background: #2e5191 !important; }

.bt-compact-header-page .bt-public-desktop-nav,
.bt-compact-header-page .bt-public-login {
  display: none !important;
}

.bt-compact-header-page .bt-public-actions {
  margin-left: auto;
}

.bt-compact-header-page .bt-public-mobile-nav {
  display: block;
}

/* Make the existing answer library visible from the first decision layer. */
.answer-finder {
  padding-top: 56px;
  padding-bottom: 64px;
}

.answer-finder-home {
  padding-top: 8px;
}

.answer-finder-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 24px 48px;
  align-items: end;
  margin-bottom: 28px;
}

.answer-finder-heading .hp-eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -12px;
}

.answer-finder-heading h2,
.answer-finder-heading p {
  margin: 0;
}

.answer-finder-heading h2 {
  max-width: 780px;
  color: #0b1d3a;
}

.answer-finder-heading > p:last-child {
  max-width: 620px;
  color: #58677d;
  font-size: 17px;
  line-height: 1.6;
}

.answer-finder-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.answer-finder-grid > a {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 10px;
  min-height: 190px;
  padding: 24px;
  color: #14233c;
  text-decoration: none;
  background: #fff;
  border: 1px solid #dce5ef;
  border-left: 4px solid #0f7b6c;
  border-radius: 0;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.answer-finder-grid > a:hover {
  background: #eaf4fb;
  border-color: #2868c7;
}

.answer-finder-grid > a:focus-visible {
  outline: 3px solid #2868c7;
  outline-offset: 3px;
}

.answer-finder-grid strong {
  color: #0b1d3a;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.15;
}

.answer-finder-grid > a > span {
  color: #58677d;
  font-size: 16px;
  line-height: 1.55;
}

.answer-finder-grid b {
  color: #0f7b6c;
  font-size: 14px;
}

.answer-finder-boundary {
  margin: 18px 0 0;
  color: #58677d;
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 800px) {
  .answer-finder {
    padding-top: 40px;
    padding-bottom: 48px;
  }

  .answer-finder-heading,
  .answer-finder-grid {
    grid-template-columns: 1fr;
  }

  .answer-finder-heading {
    gap: 16px;
  }

  .answer-finder-heading .hp-eyebrow {
    margin-bottom: 0;
  }

  .answer-finder-grid > a {
    min-height: 0;
    padding: 20px;
  }
}
