.trl-footer {
  --footer-bg: #08090b;
  --footer-panel: #0d0f12;
  --footer-line: rgba(255, 255, 255, 0.1);
  --footer-muted: #858a94;
  --footer-text: #f4f5f7;
  --footer-accent: #8fa6ff;
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  box-sizing: border-box;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-top: 1px solid var(--footer-line);
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 72px 28px 20px;
  text-align: left;
}

.trl-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0, transparent calc(50% - .5px), rgba(143, 166, 255, .07) 50%, transparent calc(50% + .5px)),
    linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px);
  background-size: 100% 100%, 72px 72px, 72px 72px;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
}

.trl-footer-inner {
  width: min(100%, 1380px);
  margin: 0 auto;
}

.trl-footer-main {
  display: grid;
  grid-template-columns: minmax(280px, 1.35fr) minmax(0, 1.65fr);
  gap: clamp(48px, 8vw, 132px);
  align-items: start;
}

.trl-footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--footer-text);
  text-decoration: none;
}

.trl-footer-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  background: #f4f5f7;
  transition: transform .3s cubic-bezier(.16, 1, .3, 1), border-color .3s cubic-bezier(.16, 1, .3, 1);
}

.trl-footer-mark img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.trl-footer-brand-link:hover .trl-footer-mark {
  transform: translateY(-2px) rotate(-3deg);
  border-color: rgba(143, 166, 255, .62);
}

.trl-footer-brand-name {
  font-family: "Space Grotesk", "Satoshi", Arial, sans-serif;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -.03em;
}

.trl-footer-copy {
  max-width: 420px;
  margin: 24px 0 0;
  color: var(--footer-muted);
  font-family: "Space Grotesk", "Satoshi", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
}

.trl-footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 46px;
  margin-top: 28px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .055);
  color: var(--footer-text);
  font-family: "Space Grotesk", "Satoshi", Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .3s cubic-bezier(.16, 1, .3, 1), background .3s cubic-bezier(.16, 1, .3, 1), border-color .3s cubic-bezier(.16, 1, .3, 1);
}

.trl-footer-cta span {
  color: var(--footer-accent);
  font-size: 18px;
  line-height: 1;
  transition: transform .3s cubic-bezier(.16, 1, .3, 1);
}

.trl-footer-cta:hover {
  transform: translateY(-2px);
  border-color: rgba(143, 166, 255, .44);
  background: rgba(143, 166, 255, .1);
}

.trl-footer-cta:hover span { transform: translateX(4px); }
.trl-footer-cta:active { transform: translateY(0) scale(.98); }

.trl-footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 40px clamp(28px, 5vw, 76px);
}

.trl-footer-group h2 {
  margin: 0 0 18px;
  color: #c8cbd2;
  font-family: "Space Mono", "Geist Mono", monospace;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.trl-footer-group ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trl-footer-group a {
  position: relative;
  display: inline-block;
  color: var(--footer-muted);
  font-family: "Space Grotesk", "Satoshi", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  text-decoration: none;
  transition: color .25s ease, transform .25s cubic-bezier(.16, 1, .3, 1);
}

.trl-footer-group a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: var(--footer-accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s cubic-bezier(.16, 1, .3, 1);
}

.trl-footer-group a:hover {
  color: var(--footer-text);
  transform: translateX(2px);
}

.trl-footer-group a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.trl-footer-wordmark {
  display: block;
  width: 100%;
  margin: clamp(64px, 9vw, 128px) 0 -1.6vw;
  color: rgba(255, 255, 255, .055);
  font-family: "Space Grotesk", "Satoshi", Arial, sans-serif;
  font-size: clamp(72px, 15.5vw, 228px);
  font-weight: 700;
  line-height: .72;
  letter-spacing: -.075em;
  text-align: center;
  white-space: nowrap;
  user-select: none;
}

.trl-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0 4px;
  border-top: 1px solid var(--footer-line);
  color: #666b74;
  font-family: "Space Mono", "Geist Mono", monospace;
  font-size: 9px;
  letter-spacing: .12em;
  line-height: 1.6;
  text-transform: uppercase;
}

.trl-footer-bottom a { color: inherit; text-decoration: none; }
.trl-footer-bottom a:hover { color: var(--footer-text); }

@media (max-width: 900px) {
  .trl-footer { padding: 56px 22px 18px; }
  .trl-footer-main { grid-template-columns: 1fr; gap: 52px; }
  .trl-footer-copy { max-width: 560px; }
  .trl-footer-wordmark { margin-top: 76px; font-size: clamp(66px, 18vw, 144px); }
}

@media (max-width: 620px) {
  .trl-footer { padding-inline: 18px; }
  .trl-footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 26px; }
  .trl-footer-group:last-child { grid-column: 1 / -1; }
  .trl-footer-wordmark { margin-top: 64px; margin-bottom: -6px; font-size: 21.5vw; letter-spacing: -.07em; }
  .trl-footer-bottom { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .trl-footer *, .trl-footer *::before, .trl-footer *::after { transition-duration: .01ms !important; }
}
