/* 4F Home refinement. Loaded after Phase 1 and later styles. */
#form-link { display: none !important; }
:root { --ff-electric-blue: #168cff; }
.masthead { justify-content: center; text-align: center; }
.masthead > div { width: 100%; }
.ff-brand,
.ff-brand span {
  display: block;
  color: var(--ff-electric-blue) !important;
  font-weight: 950 !important;
  text-align: center;
  letter-spacing: -.035em;
  line-height: 1.12;
  -webkit-text-stroke: 2px white;
  paint-order: stroke fill;
  text-shadow: 1px 1px 0 #fff, -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff;
}
.ff-brand br { display: block; }
/* Keep the two navigation bars on other pages, but hide BOTH on Home. */
body:has(#home.active) .ff-nav { display: none !important; }
#home .ff-home-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 20px 0 26px;
}
#home .ff-home-tile {
  min-width: 0;
  min-height: 168px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  gap: 12px;
  padding: 22px 18px;
  background: var(--ff-electric-blue);
  color: #fff;
  border: 1.5px solid #fff;
  border-radius: 16px;
  box-shadow: 0 7px 22px rgba(0,0,0,.12);
}
#home .ff-home-tile strong { font-size: clamp(1.15rem, 2.25vw, 1.55rem); line-height: 1.25; color: #fff; }
#home .ff-home-tile span { font-size: .96rem; line-height: 1.45; color: #fff; }
#home button.ff-home-tile:hover,
#home button.ff-home-tile:focus-visible { background: #0076e8; border-color: #fff; transform: translateY(-2px); }
#home button.ff-home-tile:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
#home .ff-home-tile.ff-disabled {
  grid-column: 1 / -1;
  min-height: 105px;
  background: #334155;
  border-color: #7d8da3;
  opacity: .72;
  cursor: default;
  transform: none;
}
#home .ff-disclaimer { margin-top: 26px; }
@media (max-width: 600px) {
  #home .ff-home-grid { gap: 10px; }
  #home .ff-home-tile { padding: 14px 10px; min-height: 158px; gap: 9px; }
  #home .ff-home-tile strong { font-size: clamp(.96rem, 3.5vw, 1.2rem); }
  #home .ff-home-tile span { font-size: .79rem; }
  .ff-brand,.ff-brand span { -webkit-text-stroke: 1.5px #fff; }
}
