/* Shared public footer styles copied from SiteFooter.css and SiteFooterNav.css. */
.copyright {
    margin: 20px auto 10px auto;
    font-size: 15px;
    color: #cccccc;
    font-family: 'Righteous', cursive;
}


/* -- Footer -- */
.home_footer {
    background: transparent;
    border-top: 1px solid rgba(120, 154, 197, 0.18);
    color: #a0aabb;
    font-size: 14px;
    margin-top: 0;
}

.home_footer_inner {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
    align-items: flex-start;
    padding: 50px 7% 40px;
    max-width: 1400px;
    margin: auto;
}

.home_footer_brand {
    flex: 1 1 220px;
    max-width: 300px;
}

.home_footer_logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

/* Same optical correction as the header: the pixel logo is edge-to-edge, so
   the old 42px box (sized for a PNG with built-in padding) reads oversized. */
.home_footer_logo img {
    display: block;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.home_footer_logo span {
    font-family: 'Press Start 2P', cursive;
    font-size: 14px;
    color: aliceblue;
    letter-spacing: 1px;
}

.home_footer_tagline {
    color: #6b7a94;
    line-height: 1.6;
    font-size: 11px;
}

.home_footer_location {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin: 14px 0 0;
    color: #7d8ba3;
    line-height: 1.5;
    font-size: 12px;
}

.home_footer_location strong {
    color: #dceeff;
    font-family: 'Righteous', cursive;
    font-size: 13px;
    font-weight: 400;
}

.home_footer_links {
    display: flex;
    flex-wrap: wrap;
    gap: 36px;
}

.home_footer_col {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 120px;
}

.home_footer_col_title {
    font-family: 'Righteous', cursive;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #57b9ff;
    margin-bottom: 4px;
}

.home_footer_col a {
    color: #a0aabb;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.home_footer_col a:hover {
    color: aliceblue;
}

/* Creator strip */
.home_footer_creator {
    border-top: 1px solid rgba(120, 154, 197, 0.14);
    border-bottom: 1px solid rgba(120, 154, 197, 0.14);
    padding: 24px 7%;
    background: transparent;
}

.home_footer_creator_inner {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: auto;
}

.home_footer_creator_text {
    display: flex;
    align-items: center;
    gap: 10px;
}

.home_footer_creator_label {
    font-size: 13px;
    color: #6b7a94;
}

.home_footer_creator_name {
    font-family: 'Righteous', cursive;
    font-size: 14px;
    color: #f0f8ff;
}

.home_footer_creator_links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.home_footer_creator_link {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #8899b4;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

.home_footer_creator_link:hover {
    color: #57b9ff;
}

.home_footer_creator_link img {
    filter: invert(60%) sepia(20%) saturate(400%) hue-rotate(185deg) brightness(90%);
    transition: filter 0.2s;
}

.home_footer_creator_link:hover img {
    filter: invert(70%) sepia(50%) saturate(600%) hue-rotate(185deg) brightness(100%);
}

/* Bottom bar */
.home_footer_bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 18px 7%;
    max-width: 1400px;
    margin: auto;
}

.home_footer_bottom_links {
    display: flex;
    gap: 20px;
}

.home_footer_bottom_links a {
    color: #6b7a94;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

.home_footer_bottom_links a:hover {
    color: aliceblue;
}

.copyright {
    color: #4a5568;
    font-size: 13px;
}

/* Shared footer navigation shown on every public page. */
.home_footer .home_footer_inner {
  width: min(1240px, calc(100% - 40px));
  margin-inline: auto;
  display: grid !important;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.65fr);
  align-items: start;
  gap: clamp(38px, 7vw, 90px);
}

.home_footer_navigation {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 50px);
  width: 100%;
}

.home_footer_navigation_group {
  min-width: 0;
}

.home_footer_navigation_group h2 {
  margin: 0 0 15px;
  color: rgba(145, 210, 255, 0.82);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Each footer link-group heading gets its own color instead of sharing one
   blue, so the three groups (Start / Company & Support / Policies) read as
   distinct at a glance. */
.home_footer_navigation_group:nth-child(2) h2 {
  color: rgba(255, 169, 77, 0.85);
}

.home_footer_navigation_group:nth-child(3) h2 {
  color: rgba(167, 139, 250, 0.85);
}

.home_footer_navigation_links {
  display: grid;
  gap: 11px;
}

.home_footer_navigation_links a {
  width: fit-content;
  max-width: 100%;
  color: rgba(236, 244, 255, 0.82);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none;
  transition: color 0.18s ease, transform 0.18s ease;
}

.home_footer_navigation_links a:hover,
.home_footer_navigation_links a:focus-visible {
  color: #8ed7ff;
  transform: translateX(3px);
  outline: none;
}

.home_footer_compact .home_footer_navigation {
  display: grid;
}

@media (max-width: 900px) {
  .home_footer .home_footer_inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

@media (max-width: 620px) {
  .home_footer .home_footer_inner {
    width: calc(100% - 32px);
  }

  .home_footer_navigation {
    grid-template-columns: 1fr 1fr;
    gap: 30px 24px;
  }

  .home_footer_navigation_group:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 420px) {
  .home_footer_navigation {
    grid-template-columns: 1fr;
  }

  .home_footer_navigation_group:last-child {
    grid-column: auto;
  }
}
