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

html, body {
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  background: #ECE6E6;
  font-family: 'Space Mono', monospace;
  color: #21717c;
  min-height: 100vh;
  height: 100vh;
  overflow: hidden;
}

.xtracto-header {
  width: 100vw;
  height: 92px;
  display: flex;
  align-items: center;
  background: #ECE6E6;
  box-sizing: border-box;
  padding: 36px 120px;
}

.xtracto-logo {
  cursor: pointer;
}

.not-found-container {
  height: calc(100vh - 92px);
  min-height: unset;
  width: 100vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0;
  gap: 32px;
  background: #ece6e6;
  border-radius: 0;
  box-sizing: border-box;
}

.not-found-title {
  font-size: 3rem;
  letter-spacing: 0.1em;
  margin-bottom: 40px;
  font-family: 'Space Mono', monospace;
  color: #21717c;
  font-weight: 400;
  text-align: center;
}

@media (max-width: 800px) {
  .not-found-title {
    font-size: 1.2rem;
  }
  .xtracto-header {
    padding-left: 16px;
    height: 56px;
  }
  .xtracto-logo {
    height: 28px;
  }
  .not-found-container {
    padding: 32px;
    gap: 16px;
  }
}

.xtracto-footer {
  background: #166874;
  color: #fff;
}

.footer-padded {
  padding: 64px 120px;
  box-sizing: border-box;
  width: 100%;
}

.footer-content {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 64px;
  align-items: center;
}

.footer-left {
  width: 209px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 38px;
}

.footer-logo {
  height: 32px;
  margin-bottom: 8px;
}

.footer-contact-label {
  color: #F3F9FF;
  font-size: 18px;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 400;
  line-height: 28px;
}

.footer-email {
  align-self: stretch;
  height: 42px;
  color: #F3F9FF;
  font-size: 16px;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 400;
  text-decoration: underline;
  line-height: 32px;
  margin: 0;
  opacity: 1;
}

.footer-right {
  flex: 1 1 0;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 56px;
}

.footer-links-title {
  color: #F3F9FF;
  font-size: 18px;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 400;
  line-height: 28px;
  width: 100%;
}

.footer-links-grid {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.footer-links-row {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links-row div,
.footer-links-row a {
  opacity: 0.65;
  color: #F3F9FF;
  font-size: 16px;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 400;
  text-decoration: none;
  line-height: 32px;
  transition: opacity 0.2s;
}

.footer-links-row a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-separator {
  width: 100%;
  height: 1px;
  background: #F3F9FF;
  opacity: 0.6;
  margin: 50px 0;
  outline: 1px #F3F9FF solid;
  outline-offset: -0.5px;
}

.footer-bottom {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
  color: #F3F9FF;
  font-size: 16px;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 400;
  text-align: right;
  height: 36px;
  margin: 0;
}
@media (max-width: 1400px) {
  .footer-padded {
    padding: 40px 48px; /* reduced padding */
  }

  .footer-content {
    gap: 48px; /* less space between left and right */
  }

  .footer-left {
    gap: 24px;
  }

  .footer-right {
    gap: 32px; /* reduced vertical spacing */
  }

  .footer-links-grid {
    gap: 32px;
  }

  .footer-links-row {
    align-items: flex-start;
  }

  .footer-separator {
    margin: 16px 0;
  }

  .footer-bottom {
    height: 28px;
  }
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-left {
    width: 100%;
    align-items: center;
    text-align: center;
    gap: 8px;
  }

  .footer-email {
    text-align: center;
  }

  .footer-right {
    width: 100%;
    height: auto;
    gap: 16px;
  }

  .footer-links-title {
    text-align: center;
    margin-top: 40px;
  }

  .footer-links-grid {
    gap: 0px;
  }
  .footer-links-row {
    flex-direction: column;
    align-items: center;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
    margin-top: 24px;
  }
}