/*
 * Lebuh Digital site footer (brief 1350, Tempa 9 Nov 2026).
 *
 * One footer, one stylesheet, loaded by every public page: the 1-to-1 storefront
 * clone (brand chrome pages and the Dawn-template pages) and the platform pages
 * that sit behind /membership. It is deliberately self-contained: the brand
 * stylesheet defines --ink/--muted/--lime, but the Dawn-template pages do not
 * load it, so every value here is written out instead of borrowed. Loaded on a
 * brand page it reproduces the footer that was already there, byte for byte in
 * effect; loaded on a Dawn page it gives the same dark brand footer.
 *
 * The values shown (entity name, SSM, address, Bot WhatsApp) come from
 * src/entity.json and are rendered by storefront/tools/footer.py. Do not type
 * business details into a page by hand.
 */
footer {
  background: #121214;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 32px 0 40px;
  color: #a8a8a3;
  font: 400 14px/1.5 "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
  -webkit-font-smoothing: antialiased;
}
footer .wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 40px);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 22px 40px;
  align-items: flex-start;
}
footer a {
  color: inherit;
}
.ft-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ft-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
  text-decoration: none;
}
.ft-logo .mark {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #121214;
  box-shadow: 3px 3px 0 #121214;
  background: #e3fc02;
  object-fit: cover;
}
.ft-logo .word {
  display: block;
  height: 18px;
  width: auto;
}
.ft-sub {
  font-weight: 600;
  font-size: 13px;
  line-height: 1.3;
  color: #a8a8a3;
}
.ft-ssm {
  font-weight: 700;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: #f5f5f0;
}
.ft-copy {
  font-size: 13px;
  line-height: 1.4;
}
.ft-contact {
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ft-addr {
  margin: 0;
  line-height: 1.45;
  color: #a8a8a3;
}
.ft-addr b {
  color: #f5f5f0;
  font-weight: 800;
}
.ft-links {
  margin: 0;
  line-height: 1.4;
}
.ft-links a {
  color: #f5f5f0;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.ft-links a:hover,
.ft-links a:focus-visible {
  border-bottom-color: #f5f5f0;
}
/* The two footer pills, moved out of inline style attributes so they do not
   depend on the brand stylesheet's custom properties. */
.ft-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 14px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #a8a8a3;
  font-weight: 700;
  text-decoration: none;
  font-size: 13px;
}
.ft-pill:hover,
.ft-pill:focus-visible {
  border-color: #a8a8a3;
  color: #f5f5f0;
}
.ft-pill.lime {
  padding: 10px 16px;
  border-color: #e3fc02;
  color: #e3fc02;
  font-size: 14px;
}
.ft-pill.lime:hover,
.ft-pill.lime:focus-visible {
  background: #e3fc02;
  color: #121214;
}
.ft-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
@media (max-width: 720px) {
  footer {
    padding: 28px 0 36px;
  }
  footer .wrap {
    flex-direction: column;
    gap: 22px;
  }
  .ft-contact {
    max-width: none;
  }
  .ft-logo .word {
    height: 16px;
  }
}
