/* The foot of the moving page (./foot.ts): hero 13's dark deck (Product/components/landing-v4/brand/Footer.tsx and
   the brand's dark inks, brand.css) over the last screen's night. No game under its columns, on any page (Sergei
   2026-12-02: "remove and dont add anywhere on the websites more"). */

/* no hairline over it: the closing above is dark too, and its floor fades into this black (./lift.css) */
.foot {
  width: 100%;
  color: #fff;
  background: #0a0a0a;
}

.foot-deck {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 56px 20px calc(24px + env(safe-area-inset-bottom));
}
.foot-top {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.foot-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 420px;
}
/* the wordmark in the page's heads' face (./white.css: Reckless; Sergei 2026-12-02: "use reckless new font"), as the
   page's bar sets it (./menu.css .menu-wordmark), and the way back to the top */
.foot-mark {
  font-family: 'Reckless', Georgia, serif;
  font-weight: 400;
  font-variation-settings:
    'wght' 400,
    'wdth' 85,
    'CNTR' 22;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.1s;
}
.foot-mark:hover {
  opacity: 0.6;
}
.foot-tagline {
  max-width: 38ch;
  margin-top: 12px;
  font-size: 14px;
  line-height: 21px;
  color: rgb(255 255 255 / 0.55);
}
/* the X handle in the brand's pill */
.foot-x {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  margin-top: 24px;
  padding: 0 14px 0 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  color: rgb(255 255 255 / 0.7);
  background: rgb(255 255 255 / 0.05);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.12);
  transition:
    color 0.15s,
    background-color 0.15s;
}
.foot-x:hover {
  color: #fff;
  background: rgb(255 255 255 / 0.1);
}

/* three-up on every width, each column as wide as its longest link */
.foot-columns {
  display: flex;
  justify-content: space-between;
  gap: 0 16px;
  width: 100%;
}
.foot-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}
.foot-head {
  width: 100%;
  padding-bottom: 12px;
  border-bottom: 1px solid rgb(255 255 255 / 0.1);
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.85);
}
.foot-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-top: 16px;
}
.foot-links > a,
.foot-links > button {
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 14px;
  line-height: 18px;
  text-align: left;
  text-decoration: none;
  color: rgb(255 255 255 / 0.55);
  background: none;
  cursor: pointer;
  transition: color 0.15s;
}
.foot-links > a:hover,
.foot-links > button:hover {
  color: #fff;
}

/* a legal sheet: a card on the night over the dimmed page, its clauses scrolling inside it */
.foot-sheet {
  width: calc(100% - 32px);
  max-width: 540px;
  max-height: 85vh;
  padding: 0;
  border: 0;
  border-radius: 20px;
  color: #fff;
  background: #171717;
  box-shadow:
    0 16px 48px rgb(0 0 0 / 0.5),
    inset 0 0 0 1px rgb(255 255 255 / 0.12);
}
.foot-sheet::backdrop {
  background: rgb(0 0 0 / 0.5);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}
.foot-sheet-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 85vh;
  padding: 24px;
}
/* the card takes the focus a sheet opens with, so no ring stands round the cross until a key moves it there */
.foot-sheet-card:focus {
  outline: none;
}
.foot-sheet-head {
  display: flex;
  align-items: flex-start;
  padding-bottom: 16px;
  border-bottom: 1px solid rgb(255 255 255 / 0.12);
}
.foot-sheet-title {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2px;
  font-size: 18px;
  font-weight: 600;
  line-height: 23px;
}
.foot-sheet-title > small {
  font-size: 11px;
  font-weight: 400;
  line-height: 15px;
  color: rgb(255 255 255 / 0.42);
}
.foot-sheet-close {
  padding: 0;
  border: 0;
  color: rgb(255 255 255 / 0.55);
  background: none;
  cursor: pointer;
}
.foot-sheet-close:hover {
  color: #fff;
}
.foot-sheet-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
  margin: 0;
  padding: 0 4px 0 0;
  overflow-y: auto;
  list-style: none;
  scrollbar-width: none;
}
.foot-sheet-list > li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.foot-sheet-list b {
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
}
.foot-sheet-list p {
  font-size: 11px;
  line-height: 16px;
  color: rgb(255 255 255 / 0.55);
}
.foot-sheet-sign {
  font-size: 10px;
  line-height: 14px;
  color: rgb(255 255 255 / 0.42);
}

@media (min-width: 768px) {
  .foot-deck {
    padding: 80px 32px 32px;
  }
  .foot-top {
    flex-direction: row;
    align-items: flex-start;
    gap: 48px;
  }
  .foot-brand {
    flex: none;
    width: 36%;
    max-width: none;
  }
}
/* a phone: each link a thumb tall, its words where they were (the gap between them now its own padding), and a legal
   sheet's clauses and its cross big enough to read and to hit on a small screen */
@media (max-width: 767px) {
  .foot-links {
    gap: 0;
    margin-top: 9px;
  }
  .foot-links > a,
  .foot-links > button {
    padding-block: 7px;
  }
  .foot-sheet-title > small {
    font-size: 12px;
    line-height: 16px;
  }
  .foot-sheet-close {
    margin: -13px -13px 0 0;
    padding: 13px;
  }
  .foot-sheet-list {
    gap: 16px;
  }
  .foot-sheet-list b {
    font-size: 14px;
    line-height: 19px;
  }
  .foot-sheet-list p {
    font-size: 13px;
    line-height: 19px;
  }
  .foot-sheet-sign {
    font-size: 12px;
    line-height: 16px;
  }
}
