@use "tokens" as *;
@use "mixins" as *;

.footer { position: relative; padding: 48px 0 56px; isolation: isolate;
  // Figma footer texture: 50px rhythm — a lifted 25px field, a 3px rib, then the base tone.
  &::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background-image: repeating-linear-gradient(90deg,
      rgba(255, 255, 255, 0.004) 0 25px,
      rgba(255, 255, 255, 0.014) 25px 28px,
      transparent 28px 50px);
    background-position: -8px 0; }
}
.top {
  display: grid;
  gap: 40px 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  @include up($bp-lg) { grid-template-columns: 1.3fr 1fr 1.05fr 0.85fr; }
}
.brand { grid-column: 1 / -1; display: grid; justify-items: start; gap: 22px; @include up($bp-lg) { grid-column: auto; } img { width: 150px; height: auto; } }
.about { max-width: 290px; font-size: 0.875rem; line-height: 1.5; margin-top: 18px; color: rgba(255, 255, 255, 0.92); }
.unified {
  display: flex; align-items: center; gap: 14px;
  width: min(100%, 283px);
  padding: 15px 20px;
  margin-top: 8px;
  border-radius: 10px;
  background: $c-yellow; color: $c-ink;
  transition: transform $dur $ease-out;
  &:hover { transform: translateY(-2px); }
  small { display: block; font-size: 0.75rem; text-transform: uppercase; }
  strong { display: block; margin-top: 2px; font-family: $f-display; font-size: 1.375rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.15; }
  @include focus-ring($c-white);
}
.unifiedIcon { flex: none; display: grid; place-items: center; width: 45px; height: 45px; border-radius: 5px; background: $c-ink; color: $c-yellow; }
.unifiedCta { width: min(100%, 283px); > * { width: 100%; justify-content: space-between; } }
.profile { display: inline-flex; align-items: center; gap: 12px; margin-top: 2px; font-family: $f-display; font-size: 0.75rem; font-weight: 500; text-transform: uppercase; &:hover { color: $c-yellow; } }
.col {
  h2 { font-family: $f-display; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; margin-bottom: 22px; }
  ul { display: grid; gap: 14px; }
  a { font-size: 0.8125rem; line-height: 1.4; color: rgba(255, 255, 255, 0.86); transition: color $dur-fast; &:hover { color: $c-yellow; } }
}
.bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  margin-top: 64px; padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  font-family: $f-display; font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  ul { display: flex; gap: 20px; align-items: center; }
  li + li:last-child { padding-inline-start: 24px; border-inline-start: 1px solid rgba(255, 255, 255, 0.3); font-weight: 600; }
  a:hover { color: $c-yellow; }
}
