.fbh-main {
  overflow: hidden;
  background: #020711;
}

.fbh-hub {
  --fbh-bg: #020711;
  --fbh-panel: #07111f;
  --fbh-panel-soft: #0a1524;
  --fbh-border: rgba(148, 163, 184, 0.2);
  --fbh-border-strong: rgba(74, 222, 128, 0.28);
  --fbh-text: #dbe5f2;
  --fbh-muted: #93a2b6;
  --fbh-green: #4ade80;
  --fbh-green-dark: #0f6d3f;
  --fbh-blue: #60a5fa;
  --fbh-gold: #f4c95d;
  --fbh-red: #fb7185;
  width: min(1180px, 100%);
  max-width: 1180px;
  color: var(--fbh-text);
}

.fbh-hub,
.fbh-hub * {
  box-sizing: border-box;
}

.fbh-hub a {
  color: #8ec5ff;
}

.fbh-hub a:hover {
  color: #d6ebff;
}

.fbh-hub p,
.fbh-hub li {
  color: var(--fbh-text);
}

.fbh-hub p {
  line-height: 1.78;
}

.fbh-hub .fbh-kicker {
  margin: 0 0 0.75rem;
  color: var(--fbh-green);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.fbh-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  min-height: 700px;
  padding: clamp(3.5rem, 8vw, 7rem) 0;
}

.fbh-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  border-bottom: 1px solid rgba(74, 222, 128, 0.15);
  background:
    radial-gradient(circle at 75% 20%, rgba(74, 222, 128, 0.13), transparent 30%),
    radial-gradient(circle at 12% 75%, rgba(96, 165, 250, 0.1), transparent 30%),
    linear-gradient(145deg, #020711 5%, #07111e 55%, #020711);
}

.fbh-hero h1 {
  max-width: 800px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.7rem, 5.8vw, 5.65rem);
  font-weight: 850;
  letter-spacing: -0.058em;
  line-height: 0.98;
}

.fbh-updated {
  margin: 1.35rem 0 0;
  color: #91a0b4 !important;
  font-size: 0.85rem;
  font-weight: 680;
}

.fbh-hero-lede {
  max-width: 720px;
  margin: 1.35rem 0 0;
  color: #bfcbda !important;
  font-size: clamp(1.03rem, 1.65vw, 1.24rem);
}

.fbh-hero-lede strong {
  color: #ffffff;
}

.fbh-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 2rem;
}

.fbh-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.2rem;
  border: 1px solid #5ee58e;
  border-radius: 0.8rem;
  background: linear-gradient(135deg, #5ee58e, #25b966);
  box-shadow: 0 14px 35px rgba(34, 197, 94, 0.17);
  color: #02150b !important;
  font: inherit;
  font-size: 0.87rem;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.fbh-button:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.fbh-text-link {
  padding: 0.65rem 0.25rem;
  color: #d6e3f4 !important;
  font-size: 0.87rem;
  font-weight: 750;
  text-underline-offset: 0.3em;
}

.fbh-hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 2.5rem;
}

.fbh-hero-facts div {
  min-width: 0;
  padding: 0.95rem;
  border: 1px solid var(--fbh-border);
  border-radius: 0.9rem;
  background: rgba(5, 12, 23, 0.72);
}

.fbh-hero-facts span,
.fbh-hero-facts strong {
  display: block;
}

.fbh-hero-facts span {
  margin-bottom: 0.25rem;
  color: #8190a4;
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fbh-hero-facts strong {
  color: #f3f7fb;
  font-size: 0.86rem;
}

.fbh-hero-figure {
  margin: 0;
  padding: 0.75rem;
  border: 1px solid rgba(74, 222, 128, 0.28);
  border-radius: 1.35rem;
  background: linear-gradient(145deg, rgba(17, 30, 43, 0.97), rgba(4, 10, 19, 0.97));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
}

.fbh-hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.9rem;
}

.fbh-hero-figure figcaption {
  padding: 0.85rem 0.45rem 0.35rem;
  color: #8291a7;
  font-size: 0.77rem;
  line-height: 1.55;
}

.fbh-on-page {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  border: 1px solid var(--fbh-border);
  border-radius: 1rem;
  background: rgba(4, 11, 21, 0.91);
  backdrop-filter: blur(16px);
}

.fbh-on-page span {
  margin-right: 0.15rem;
  color: var(--fbh-green);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.fbh-on-page a {
  padding: 0.4rem 0.6rem;
  border-radius: 999px;
  color: #b9c5d5;
  font-size: 0.78rem;
  font-weight: 720;
  text-decoration: none;
}

.fbh-on-page a:hover {
  background: rgba(74, 222, 128, 0.1);
  color: #ffffff;
}

.fbh-section {
  padding: clamp(4.2rem, 8vw, 7rem) 0;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  scroll-margin-top: 5.5rem;
}

.fbh-section-heading {
  max-width: 830px;
  margin-bottom: 2.2rem;
}

.fbh-section h2,
.fbh-sources h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2rem, 4.4vw, 3.75rem);
  font-weight: 820;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.fbh-section-heading > p:last-child {
  max-width: 760px;
  margin: 1rem 0 0;
  color: var(--fbh-muted);
  font-size: 1rem;
}

.fbh-definition-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.fbh-definition-grid article {
  min-width: 0;
  padding: 1.5rem;
  border: 1px solid var(--fbh-border);
  border-radius: 1.1rem;
  background:
    linear-gradient(145deg, rgba(74, 222, 128, 0.035), transparent 55%),
    var(--fbh-panel);
}

.fbh-definition-grid article > span {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--fbh-green);
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.fbh-definition-grid h3,
.fbh-path-grid h3 {
  margin: 0;
  color: #f5f8fb;
  font-size: 1.08rem;
  line-height: 1.35;
}

.fbh-definition-grid p {
  margin: 0.75rem 0 0;
  color: #98a7ba;
  font-size: 0.87rem;
  line-height: 1.7;
}

.fbh-sequence {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--fbh-border);
  list-style: none;
}

.fbh-sequence li {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: clamp(1rem, 4vw, 3rem);
  align-items: start;
  padding: 1.55rem 0;
  border-bottom: 1px solid var(--fbh-border);
}

.fbh-sequence li > span {
  color: rgba(74, 222, 128, 0.75);
  font-size: 1.8rem;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.fbh-sequence li > div > p:first-child {
  margin: 0 0 0.35rem;
  color: #718198;
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  line-height: 1.4;
  text-transform: uppercase;
}

.fbh-sequence h3 {
  margin: 0;
  font-size: clamp(1.18rem, 2.4vw, 1.6rem);
  line-height: 1.25;
}

.fbh-sequence h3 a {
  color: #f1f6fb;
  text-decoration-color: rgba(74, 222, 128, 0.35);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.fbh-sequence h3 a:hover {
  color: #c7f9d8;
  text-decoration-color: var(--fbh-green);
}

.fbh-sequence li > div > p:last-child {
  max-width: 820px;
  margin: 0.55rem 0 0;
  color: #96a5b8;
  font-size: 0.88rem;
}

.fbh-translator-section {
  position: relative;
}

.fbh-translator-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 2rem;
  bottom: 2rem;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: linear-gradient(110deg, rgba(74, 222, 128, 0.045), rgba(96, 165, 250, 0.035));
}

.fbh-translator {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
  gap: 1.2rem;
  align-items: stretch;
}

.fbh-risk-form,
.fbh-risk-results {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--fbh-border);
  border-radius: 1.2rem;
}

.fbh-risk-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  background: #08121f;
}

.fbh-field {
  min-width: 0;
}

.fbh-field label {
  display: block;
  margin-bottom: 0.45rem;
  color: #c5d0df;
  font-size: 0.78rem;
  font-weight: 760;
}

.fbh-field input {
  width: 100%;
  min-height: 48px;
  padding: 0.72rem 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.32);
  border-radius: 0.72rem;
  outline: none;
  background: #030914;
  color: #f7f9fc;
  font: inherit;
  font-size: 0.92rem;
}

.fbh-field input:focus {
  border-color: var(--fbh-green);
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.12);
}

.fbh-field input[aria-invalid="true"] {
  border-color: var(--fbh-red);
  box-shadow: 0 0 0 3px rgba(251, 113, 133, 0.1);
}

.fbh-prefix {
  position: relative;
}

.fbh-prefix span {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 0.8rem;
  color: #77869b;
  transform: translateY(-50%);
}

.fbh-prefix input {
  padding-left: 1.7rem;
}

.fbh-risk-error {
  grid-column: 1 / -1;
  margin: 0;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(251, 113, 133, 0.35);
  border-radius: 0.7rem;
  background: rgba(127, 29, 29, 0.2);
  color: #fecdd3 !important;
  font-size: 0.8rem;
  line-height: 1.5 !important;
}

.fbh-form-actions {
  display: flex;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  margin-top: 0.25rem;
}

.fbh-reset {
  min-height: 44px;
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 0.7rem;
  background: transparent;
  color: #b7c3d3;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 740;
  cursor: pointer;
}

.fbh-reset:hover {
  border-color: rgba(74, 222, 128, 0.45);
  color: #ffffff;
}

.fbh-risk-results {
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 90% 5%, rgba(74, 222, 128, 0.13), transparent 30%),
    #060e19;
}

.fbh-risk-results h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.55rem;
}

.fbh-risk-results dl {
  display: grid;
  gap: 0;
  margin: 1.2rem 0 0;
}

.fbh-risk-results dl > div {
  display: flex;
  gap: 1rem;
  align-items: baseline;
  justify-content: space-between;
  padding: 0.78rem 0;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.fbh-risk-results dt {
  color: #8f9eb2;
  font-size: 0.78rem;
}

.fbh-risk-results dd {
  margin: 0;
  color: #edf3fa;
  font-size: 0.98rem;
  font-weight: 780;
  text-align: right;
}

.fbh-risk-results .fbh-primary-result dt,
.fbh-risk-results .fbh-primary-result dd {
  color: #b9f6ce;
  font-weight: 850;
}

.fbh-risk-status {
  margin-top: auto;
  padding: 1rem;
  border-radius: 0.85rem;
}

.fbh-risk-status strong,
.fbh-risk-status span {
  display: block;
}

.fbh-risk-status strong {
  color: #ffffff;
  font-size: 0.92rem;
}

.fbh-risk-status span {
  margin-top: 0.35rem;
  font-size: 0.78rem;
  line-height: 1.55;
}

.fbh-risk-fit {
  border: 1px solid rgba(74, 222, 128, 0.3);
  background: rgba(20, 83, 45, 0.25);
}

.fbh-risk-fit span {
  color: #bbf7d0;
}

.fbh-risk-skip {
  border: 1px solid rgba(251, 113, 133, 0.35);
  background: rgba(127, 29, 29, 0.22);
}

.fbh-risk-skip span {
  color: #fecdd3;
}

.fbh-tool-note {
  margin: 1.1rem 0 0;
  padding: 1rem 1.1rem;
  border-left: 2px solid rgba(74, 222, 128, 0.6);
  background: rgba(8, 17, 31, 0.68);
  color: #94a3b7 !important;
  font-size: 0.8rem;
}

.fbh-tool-note strong {
  color: #dce7f4;
}

.fbh-path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.fbh-path-grid article {
  display: flex;
  min-width: 0;
  min-height: 350px;
  flex-direction: column;
  padding: 1.5rem;
  border: 1px solid var(--fbh-border);
  border-radius: 1.1rem;
  background:
    linear-gradient(145deg, rgba(96, 165, 250, 0.035), transparent 55%),
    var(--fbh-panel);
}

.fbh-path-number {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border: 1px solid rgba(74, 222, 128, 0.3);
  border-radius: 50%;
  color: var(--fbh-green);
  font-size: 0.68rem;
  font-weight: 850;
}

.fbh-path-label {
  margin: 1rem 0 0.35rem !important;
  color: var(--fbh-blue) !important;
  font-size: 0.66rem !important;
  font-weight: 850;
  letter-spacing: 0.1em;
  line-height: 1.4 !important;
  text-transform: uppercase;
}

.fbh-path-grid article > p:not(.fbh-path-label) {
  margin: 0.75rem 0 0;
  color: #95a4b7;
  font-size: 0.84rem;
}

.fbh-path-grid ul {
  display: grid;
  gap: 0.55rem;
  margin: auto 0 0;
  padding: 1.1rem 0 0;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  list-style: none;
}

.fbh-path-grid li {
  font-size: 0.8rem;
  line-height: 1.45;
}

.fbh-path-grid a {
  font-weight: 690;
  text-underline-offset: 0.2em;
}

.fbh-finder-section {
  position: relative;
}

.fbh-finder-controls {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 1rem 1.5rem;
  align-items: end;
  margin-bottom: 1.2rem;
  padding: 1.2rem;
  border: 1px solid var(--fbh-border);
  border-radius: 1rem;
  background: #07111e;
}

.fbh-search-field label {
  display: block;
  margin-bottom: 0.45rem;
  color: #cad5e2;
  font-size: 0.78rem;
  font-weight: 760;
}

.fbh-search-field input {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.32);
  border-radius: 0.75rem;
  outline: none;
  background: #020914;
  color: #f5f8fc;
  font: inherit;
  font-size: 0.88rem;
}

.fbh-search-field input:focus {
  border-color: var(--fbh-green);
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.11);
}

.fbh-filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.fbh-filter-group button,
#fbh-clear-filters {
  min-height: 38px;
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 999px;
  background: #030a14;
  color: #aebacc;
  font: inherit;
  font-size: 0.73rem;
  font-weight: 740;
  cursor: pointer;
}

.fbh-filter-group button:hover,
#fbh-clear-filters:hover {
  border-color: rgba(74, 222, 128, 0.42);
  color: #ffffff;
}

.fbh-filter-group button.is-active {
  border-color: rgba(74, 222, 128, 0.7);
  background: rgba(34, 197, 94, 0.14);
  color: #c9f9da;
}

.fbh-finder-meta {
  display: flex;
  grid-column: 1 / -1;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.fbh-finder-meta p {
  margin: 0;
  color: #8796aa;
  font-size: 0.76rem;
}

#fbh-clear-filters {
  min-height: 34px;
  background: transparent;
}

.fbh-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.fbh-guide-card {
  display: flex;
  min-width: 0;
  min-height: 220px;
  flex-direction: column;
  padding: 1.3rem;
  border: 1px solid var(--fbh-border);
  border-radius: 1rem;
  background: var(--fbh-panel);
}

.fbh-guide-card[hidden] {
  display: none;
}

.fbh-guide-card > span {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--fbh-green);
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.fbh-guide-card h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
}

.fbh-guide-card h3 a {
  color: #f0f5fa;
  text-decoration: none;
}

.fbh-guide-card h3 a::after {
  content: "  ↗";
  color: rgba(74, 222, 128, 0.65);
  font-size: 0.8em;
}

.fbh-guide-card h3 a:hover {
  color: #c9f8d9;
}

.fbh-guide-card p {
  margin: auto 0 0;
  padding-top: 1rem;
  color: #8f9eb2;
  font-size: 0.8rem;
  line-height: 1.62;
}

.fbh-no-guides {
  padding: 2rem;
  border: 1px dashed rgba(148, 163, 184, 0.35);
  border-radius: 1rem;
  text-align: center;
}

.fbh-no-guides strong {
  color: #f3f6fa;
}

.fbh-no-guides p {
  margin: 0.4rem 0 0;
  color: #8b9aae;
  font-size: 0.84rem;
}

.fbh-family-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.fbh-family-grid a {
  display: flex;
  min-width: 0;
  min-height: 230px;
  flex-direction: column;
  padding: 1.5rem;
  border: 1px solid var(--fbh-border);
  border-radius: 1.1rem;
  background:
    radial-gradient(circle at 88% 10%, rgba(96, 165, 250, 0.1), transparent 28%),
    var(--fbh-panel-soft);
  text-decoration: none;
}

.fbh-family-grid a > span {
  color: var(--fbh-blue);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.fbh-family-grid strong {
  display: block;
  margin-top: 1rem;
  color: #f5f8fb;
  font-size: 1.15rem;
  line-height: 1.35;
}

.fbh-family-grid p {
  margin: auto 0 0;
  padding-top: 1rem;
  color: #91a1b5;
  font-size: 0.83rem;
  line-height: 1.65;
}

.fbh-family-grid a:hover {
  border-color: rgba(96, 165, 250, 0.45);
  transform: translateY(-2px);
}

.fbh-books {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.fbh-books-copy > p:not(.fbh-kicker) {
  margin: 1rem 0 0;
  color: #9aa9bb;
  font-size: 0.9rem;
}

.fbh-books-copy .fbh-button {
  margin-top: 1.4rem;
}

.fbh-book-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: end;
}

.fbh-book-grid a {
  display: block;
  min-width: 0;
  color: #f4f7fa;
  text-decoration: none;
}

.fbh-book-grid img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 0.55rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.38);
}

.fbh-book-grid span {
  display: block;
  margin-top: 0.85rem;
  color: var(--fbh-gold);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.fbh-book-grid strong {
  display: block;
  margin-top: 0.25rem;
  color: #eef3f8;
  font-size: 0.82rem;
  line-height: 1.35;
}

.fbh-book-grid a:hover img {
  border-color: rgba(244, 201, 93, 0.5);
  transform: translateY(-3px);
}

.fbh-faq-list {
  display: grid;
  gap: 0.75rem;
}

.fbh-faq details {
  border: 1px solid var(--fbh-border);
  border-radius: 0.85rem;
  background: var(--fbh-panel);
}

.fbh-faq summary {
  padding: 1.1rem 3rem 1.1rem 1.15rem;
  color: #edf3fa;
  font-size: 0.92rem;
  font-weight: 770;
  cursor: pointer;
}

.fbh-faq details p {
  margin: 0;
  padding: 0 1.15rem 1.15rem;
  color: #9eacbe;
  font-size: 0.86rem;
}

.fbh-sources {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.fbh-sources > p:not(.fbh-kicker) {
  max-width: 850px;
  margin: 1rem 0 0;
  color: #94a2b5;
  font-size: 0.88rem;
}

.fbh-sources ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem 1.4rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.fbh-sources li {
  padding: 1rem;
  border: 1px solid var(--fbh-border);
  border-radius: 0.85rem;
  background: rgba(7, 17, 31, 0.7);
}

.fbh-sources a,
.fbh-sources li > span {
  display: block;
}

.fbh-sources a {
  color: #c9dcf5;
  font-size: 0.82rem;
  font-weight: 740;
  line-height: 1.45;
}

.fbh-sources li > span {
  margin-top: 0.45rem;
  color: #8291a5;
  font-size: 0.75rem;
  line-height: 1.55;
}

.fbh-disclaimer {
  margin-bottom: 3rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid rgba(251, 191, 36, 0.22);
  border-radius: 0.9rem;
  background: rgba(92, 57, 5, 0.16);
}

.fbh-disclaimer strong {
  display: block;
  color: #f5d77d;
  font-size: 0.77rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fbh-disclaimer p {
  margin: 0.55rem 0 0;
  color: #9e9b91;
  font-size: 0.78rem;
  line-height: 1.65;
}

.fbh-hub :focus-visible {
  outline: 3px solid rgba(74, 222, 128, 0.65);
  outline-offset: 3px;
}

@media (max-width: 1040px) {
  .fbh-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .fbh-hero-figure {
    width: min(760px, 100%);
  }

  .fbh-path-grid,
  .fbh-guide-grid,
  .fbh-family-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .fbh-definition-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fbh-translator,
  .fbh-books {
    grid-template-columns: 1fr;
  }

  .fbh-finder-controls {
    grid-template-columns: 1fr;
  }

  .fbh-finder-meta {
    grid-column: auto;
  }

  .fbh-book-grid {
    max-width: 650px;
  }

  .fbh-sources ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .fbh-hero {
    padding: 3.4rem 0 4rem;
  }

  .fbh-hero h1 {
    font-size: clamp(2.45rem, 13vw, 4rem);
  }

  .fbh-hero-facts,
  .fbh-definition-grid,
  .fbh-path-grid,
  .fbh-guide-grid,
  .fbh-family-grid {
    grid-template-columns: 1fr;
  }

  .fbh-on-page {
    position: relative;
    top: auto;
  }

  .fbh-on-page span {
    width: 100%;
  }

  .fbh-sequence li {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 0.7rem;
  }

  .fbh-sequence li > span {
    font-size: 1.25rem;
  }

  .fbh-risk-form {
    grid-template-columns: 1fr;
  }

  .fbh-risk-error,
  .fbh-form-actions {
    grid-column: auto;
  }

  .fbh-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .fbh-form-actions .fbh-button,
  .fbh-reset {
    width: 100%;
  }

  .fbh-finder-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .fbh-guide-card {
    min-height: 185px;
  }

  .fbh-book-grid {
    gap: 0.65rem;
  }

  .fbh-book-grid strong {
    font-size: 0.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fbh-button,
  .fbh-family-grid a,
  .fbh-book-grid img {
    transition: none;
  }

  .fbh-button:hover,
  .fbh-family-grid a:hover,
  .fbh-book-grid a:hover img {
    transform: none;
  }
}

/* Directory-first hub refinements */
.fbh-hero {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: clamp(2rem, 4vw, 4rem);
  min-height: 660px;
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.fbh-hero h1 {
  max-width: 760px;
  font-size: clamp(2.85rem, 5.2vw, 5.15rem);
}

.fbh-hero-copy {
  min-width: 0;
}

.fbh-hero-search {
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: stretch;
  margin: 2rem 0 0;
  padding: 1.25rem;
  border-color: rgba(74, 222, 128, 0.3);
  background: rgba(4, 12, 22, 0.88);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(14px);
}

.fbh-hero-search .fbh-search-field label {
  color: #e0e8f1;
  font-size: 0.82rem;
}

.fbh-hero-search .fbh-search-field input {
  min-height: 56px;
  border-color: rgba(148, 163, 184, 0.4);
  background: rgba(1, 7, 15, 0.94);
  font-size: 0.95rem;
}

.fbh-hero-search .fbh-finder-meta {
  grid-column: auto;
}

.fbh-filter-group button {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
}

.fbh-filter-group button span {
  display: inline-grid;
  min-width: 1.55rem;
  min-height: 1.35rem;
  padding: 0.12rem 0.35rem;
  place-items: center;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.11);
  color: #8190a4;
  font-size: 0.62rem;
  line-height: 1;
}

.fbh-filter-group button.is-active span {
  background: rgba(74, 222, 128, 0.14);
  color: #aaf0c2;
}

.fbh-finder-section {
  padding-top: clamp(3.6rem, 7vw, 6rem);
}

.fbh-library-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 290px);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.fbh-library-heading .fbh-section-heading {
  margin-bottom: 0;
}

.fbh-library-note {
  margin: 0;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(96, 165, 250, 0.22);
  border-radius: 0.9rem;
  background: rgba(8, 21, 38, 0.7);
}

.fbh-library-note strong,
.fbh-library-note span {
  display: block;
}

.fbh-library-note strong {
  color: #d9ebff;
  font-size: 0.82rem;
}

.fbh-library-note span {
  margin-top: 0.3rem;
  color: #8c9caf;
  font-size: 0.72rem;
  line-height: 1.55;
}

.fbh-guide-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.fbh-guide-card {
  min-height: 210px;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.fbh-guide-card:hover {
  border-color: rgba(74, 222, 128, 0.36);
  background: #091625;
  transform: translateY(-2px);
}

.fbh-guide-card p {
  padding-top: 1.1rem;
}

.fbh-load-more-row {
  display: flex;
  justify-content: center;
  padding-top: 2rem;
}

.fbh-load-more {
  min-width: 220px;
}

.fbh-load-more[hidden] {
  display: none;
}

@media (max-width: 1040px) {
  .fbh-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .fbh-hero-figure {
    width: min(720px, 100%);
  }

  .fbh-guide-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .fbh-hero-figure {
    display: none;
  }

  .fbh-library-heading {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .fbh-library-note {
    max-width: 520px;
  }

  .fbh-guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .fbh-hero {
    padding: 3rem 0 3.4rem;
  }

  .fbh-hero h1 {
    font-size: clamp(2.4rem, 12vw, 3.5rem);
  }

  .fbh-hero-search {
    margin-top: 1.5rem;
    padding: 1rem;
  }

  .fbh-filter-group {
    gap: 0.4rem;
  }

  .fbh-filter-group button {
    min-height: 40px;
    padding: 0.55rem 0.7rem;
  }

  .fbh-guide-grid {
    grid-template-columns: 1fr;
  }

  .fbh-guide-card {
    min-height: 180px;
  }

  .fbh-load-more {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fbh-guide-card {
    transition: none;
  }

  .fbh-guide-card:hover {
    transform: none;
  }
}
