@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700&family=Inter+Tight:wght@400;500;600;700&display=swap');

.ctrl-footer {
  background: #0a0a0a;
  color: #f4efe6;
  margin-top: 0;
  width: 100%;
}

.ctrl-footer,
.ctrl-footer * {
  box-sizing: border-box;
}

.ctrl-footer__inner {
  margin: 0 auto;
  max-width: 1200px;
  padding: 42px 32px 34px;
}

.ctrl-footer__top {
  align-items: start;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(150px, 0.75fr));
}

.ctrl-footer__brand {
  margin: 0;
}

.ctrl-footer__mark {
  color: #ff5b1f;
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.ctrl-footer__tagline {
  color: rgba(244, 239, 230, 0.78);
  font-family: 'Inter Tight', sans-serif;
  font-size: 15px;
  line-height: 1.45;
  margin: 0;
  max-width: 320px;
}

.ctrl-footer__heading {
  color: rgba(244, 239, 230, 0.62);
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.ctrl-footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ctrl-footer__link {
  color: rgba(244, 239, 230, 0.8);
  font-family: 'Inter Tight', sans-serif;
  font-size: 15px;
  line-height: 1.35;
  text-decoration: none;
  transition: color 0.15s ease;
}

.ctrl-footer__link:hover {
  color: #ff5b1f;
}

.ctrl-footer__link:focus-visible {
  color: #ff5b1f;
  outline: 2px solid #ff5b1f;
  outline-offset: 3px;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.ctrl-footer__rule {
  background: rgba(244, 239, 230, 0.15);
  border: 0;
  height: 1px;
  margin: 36px 0;
}

.ctrl-footer__copyright {
  color: rgba(244, 239, 230, 0.6);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.05em;
  margin: 0;
  text-align: center;
}

@media (max-width: 767px) {
  .ctrl-footer__inner {
    padding: 36px 20px 28px;
  }

  .ctrl-footer__top {
    gap: 22px;
    grid-template-columns: 1fr;
  }

  .ctrl-footer__tagline {
    max-width: none;
  }

  .ctrl-footer__rule {
    margin: 28px 0;
  }

  .ctrl-footer__copyright {
    text-align: left;
  }
}
